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

Unified Diff: Source/core/css/RuleFeature.h

Issue 183583002: Use the invalidation tree walk for all class mutations, not just those that support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixl Created 6 years, 10 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 | « no previous file | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.h
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
index d597695e0b2be70b5ffa65e1c32e1e2a8003ea69..c26efb6c89d376d38cac44876a10789b13b9c0c4 100644
--- a/Source/core/css/RuleFeature.h
+++ b/Source/core/css/RuleFeature.h
@@ -120,10 +120,6 @@ private:
HashSet<AtomicString> attrsInRules;
};
- // These return true if setNeedsStyleRecalc() should be run on the Element, as a fallback.
- bool computeInvalidationSetsForClassChange(const SpaceSplitString& changedClasses, Element*);
- bool computeInvalidationSetsForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses, Element*);
-
enum SelectorFeatureCollectionMode {
ProcessClasses,
DontProcessClasses
@@ -132,7 +128,6 @@ private:
void collectFeaturesFromSelector(const CSSSelector&, FeatureMetadata&, SelectorFeatureCollectionMode processClasses);
void collectFeaturesFromSelectorList(const CSSSelectorList*, FeatureMetadata&, SelectorFeatureCollectionMode processClasses);
- bool classInvalidationRequiresSubtreeRecalc(const AtomicString& className);
DescendantInvalidationSet& ensureClassInvalidationSet(const AtomicString& className);
bool updateClassInvalidationSets(const CSSSelector&);
« no previous file with comments | « no previous file | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698