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

Unified Diff: Source/core/css/invalidation/DescendantInvalidationSet.h

Issue 220123004: Add support for element ids in TargetedStyleRecalc (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test. 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/invalidation/DescendantInvalidationSet.h
diff --git a/Source/core/css/invalidation/DescendantInvalidationSet.h b/Source/core/css/invalidation/DescendantInvalidationSet.h
index 93c18e6baefecd80c221924bc36ef248a00c865c..c031972cf491368266b4cf07fcd3cc5e415d1477 100644
--- a/Source/core/css/invalidation/DescendantInvalidationSet.h
+++ b/Source/core/css/invalidation/DescendantInvalidationSet.h
@@ -64,6 +64,9 @@ public:
// Appends the attributes in this DescendantInvalidationSet to the vector.
void getAttributes(Vector<AtomicString>& attributes) const;
+ // Appends the ids in this DescendantInvalidationSet to the vector.
+ void getIds(Vector<AtomicString>& ids) const;
+
void setWholeSubtreeInvalid();
bool wholeSubtreeInvalid() const { return m_allDescendantsMightBeInvalid; }
private:

Powered by Google App Engine
This is Rietveld 408576698