Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: Source/core/dom/Document.cpp

Issue 217713002: Refactor StyleInvalidator to encapsulate all style invalidation state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix clear(). Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
esprehn 2014/03/31 18:20:39 This is really silly to reach so far down, you sho
chrishtr 2014/03/31 19:22:59 Don't disagree. This CL is one step towards that.
}
void Document::updateDistributionForNodeIfNeeded(Node* node)

Powered by Google App Engine
This is Rietveld 408576698