Title: [106402] trunk/Source/WebKit/qt
Revision
106402
Author
[email protected]
Date
2012-01-31 15:07:49 -0800 (Tue, 31 Jan 2012)

Log Message

Try to fix Qt build.

Not reviewed.

* Api/qwebelement.cpp:
(QWebElement::styleProperty):

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/Api/qwebelement.cpp (106401 => 106402)


--- trunk/Source/WebKit/qt/Api/qwebelement.cpp	2012-01-31 23:02:14 UTC (rev 106401)
+++ trunk/Source/WebKit/qt/Api/qwebelement.cpp	2012-01-31 23:07:49 UTC (rev 106402)
@@ -866,11 +866,11 @@
             for (int i = rules->length(); i > 0; --i) {
                 CSSStyleRule* rule = static_cast<CSSStyleRule*>(rules->item(i - 1));
 
-                if (rule->style()->getPropertyPriority(propID))
-                    return rule->style()->getPropertyValue(propID);
+                if (rule->declaration()->getPropertyPriority(propID))
+                    return rule->declaration()->getPropertyValue(propID);
 
                 if (style->getPropertyValue(propID).isEmpty())
-                    style = rule->style();
+                    style = rule->declaration();
             }
         }
 

Modified: trunk/Source/WebKit/qt/ChangeLog (106401 => 106402)


--- trunk/Source/WebKit/qt/ChangeLog	2012-01-31 23:02:14 UTC (rev 106401)
+++ trunk/Source/WebKit/qt/ChangeLog	2012-01-31 23:07:49 UTC (rev 106402)
@@ -1,3 +1,12 @@
+2012-01-31  Antti Koivisto  <[email protected]>
+
+        Try to fix Qt build.
+
+        Not reviewed.
+
+        * Api/qwebelement.cpp:
+        (QWebElement::styleProperty):
+
 2012-01-30  Antti Koivisto  <[email protected]>
 
         Reduce non-CSSOM API of CSSStyleDeclaration
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to