Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index e9e7627af18eeb908b7a20e814ba60491f24d140..d62d410d56726ac92f8d964487031f0082b0c917 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1590,7 +1590,7 @@ void Document::updateStyleInvalidationIfNeeded() |
TRACE_EVENT0("webkit", "Document::computeNeedsStyleRecalcState"); |
ASSERT(styleResolver()); |
- StyleInvalidator(*this).invalidate(); |
+ styleResolver()->ruleFeatureSet().styleInvalidator().invalidate(*this); |
} |
void Document::updateDistributionForNodeIfNeeded(Node* node) |