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

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

Issue 204873003: Factor the style invalidation tree walk out of RuleFeatureSet, and make it generic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move code around. 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/css/RuleFeature.h
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
index df44c3e2fc49b04c6b0b1c033a040df05c777998..c27fcdfdc249aef4242e6997e5666788ffc485a0 100644
--- a/Source/core/css/RuleFeature.h
+++ b/Source/core/css/RuleFeature.h
@@ -76,7 +76,6 @@ public:
{
ASSERT(!classValue.isEmpty());
return m_classInvalidationSets.get(classValue);
-
}
inline bool hasSelectorForId(const AtomicString& idValue) const
@@ -140,9 +139,6 @@ private:
void addClassToInvalidationSet(const AtomicString& className, Element*);
- bool invalidateStyleForClassChange(Element*, Vector<AtomicString>&, bool foundInvalidationSet);
- bool invalidateStyleForClassChangeOnChildren(Element*, Vector<AtomicString>& invalidationClasses, bool foundInvalidationSet);
-
InvalidationList& ensurePendingInvalidationList(Element*);
FeatureMetadata m_metadata;
@@ -150,8 +146,11 @@ private:
PendingInvalidationMap m_pendingInvalidationMap;
bool m_targetedStyleRecalcEnabled;
+
+ friend class StyleInvalidationTreeWalk;
};
+
} // namespace WebCore
#endif // RuleFeature_h

Powered by Google App Engine
This is Rietveld 408576698