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

Unified Diff: Source/core/css/analyzer/DescendantInvalidationSet.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: Created 6 years, 11 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
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | Source/core/css/analyzer/DescendantInvalidationSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/analyzer/DescendantInvalidationSet.h
diff --git a/Source/core/css/analyzer/DescendantInvalidationSet.h b/Source/core/css/analyzer/DescendantInvalidationSet.h
index d434553661e626f80c764a32b5cc4d6755b37ff3..38e58b72d7279f0c974503fcfbb96bab03827e1a 100644
--- a/Source/core/css/analyzer/DescendantInvalidationSet.h
+++ b/Source/core/css/analyzer/DescendantInvalidationSet.h
@@ -57,8 +57,11 @@ public:
void addId(const AtomicString& id);
void addTagName(const AtomicString& tagName);
- void setWholeSubtreeInvalid() { m_allDescendantsMightBeInvalid = true; };
+ // Appends the classes in this DescendantInvalidationSet to the vector.
+ void getClasses(Vector<AtomicString>& classes);
+ void setWholeSubtreeInvalid() { m_allDescendantsMightBeInvalid = true; };
+ bool wholeSubtreeInvalid() { return m_allDescendantsMightBeInvalid; }
private:
DescendantInvalidationSet();
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | Source/core/css/analyzer/DescendantInvalidationSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698