From 82c7b400312cc44c5c4d4251d7910c0928b8f1bf Mon Sep 17 00:00:00 2001 From: "antti@apple.com" Date: Tue, 31 Jan 2012 23:07:49 +0000 Subject: [PATCH] Try to fix Qt build. Not reviewed. * Api/qwebelement.cpp: (QWebElement::styleProperty): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106402 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebKit/qt/Api/qwebelement.cpp | 6 +++--- Source/WebKit/qt/ChangeLog | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Source/WebKit/qt/Api/qwebelement.cpp b/Source/WebKit/qt/Api/qwebelement.cpp index 85ee070..6b18994 100644 --- a/Source/WebKit/qt/Api/qwebelement.cpp +++ b/Source/WebKit/qt/Api/qwebelement.cpp @@ -866,11 +866,11 @@ QString QWebElement::styleProperty(const QString &name, StyleResolveStrategy str for (int i = rules->length(); i > 0; --i) { CSSStyleRule* rule = static_cast(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(); } } diff --git a/Source/WebKit/qt/ChangeLog b/Source/WebKit/qt/ChangeLog index 6aefd70..ccd9f6a 100644 --- a/Source/WebKit/qt/ChangeLog +++ b/Source/WebKit/qt/ChangeLog @@ -1,3 +1,12 @@ +2012-01-31 Antti Koivisto + + Try to fix Qt build. + + Not reviewed. + + * Api/qwebelement.cpp: + (QWebElement::styleProperty): + 2012-01-30 Antti Koivisto Reduce non-CSSOM API of CSSStyleDeclaration -- 2.7.4