Chromium Code Reviews

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 143873016: Implement style invalidation tree walk for targeted style recalc upon class change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplified test, removed extra code. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index fe3ff2063b5fbb0be7350679d61b13bc53853f4f..d0598296eb09a76b41e13e5a7f1da96d65b0ad07 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -203,7 +203,7 @@ public:
// Exposed for RenderStyle::isStyleAvilable().
static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable; }
- const RuleFeatureSet& ensureRuleFeatureSet()
+ RuleFeatureSet& ensureRuleFeatureSet()
{
if (hasPendingAuthorStyleSheets())
appendPendingAuthorStyleSheets();

Powered by Google App Engine