summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Element.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/Element.cpp')
-rw-r--r--WebCore/dom/Element.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/dom/Element.cpp b/WebCore/dom/Element.cpp
index be74487..9afde07 100644
--- a/WebCore/dom/Element.cpp
+++ b/WebCore/dom/Element.cpp
@@ -973,7 +973,7 @@ void Element::recalcStyle(StyleChange change)
if ((change > NoChange || needsStyleRecalc())) {
#ifdef ANDROID_STYLE_VERSION
- RefPtr<RenderStyle> newStyle = document()->styleSelector()->styleForElement(this);
+ RefPtr<RenderStyle> newStyle = document()->styleForElementIgnoringPendingStylesheets(this);
if (displayDiff(currentStyle.get(), newStyle.get()))
document()->incStyleVersion();
#endif