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

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

Issue 580373002: [Invalidation Tracking] Trace StyleInvalidator setNeedsStyleRecalc (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add missing files Created 6 years, 2 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 64f06b126ffc6120ca615a85cf434e07172a8f19..de754253b11b2f639feff3a280a69996c9d9cad0 100644
--- a/Source/core/css/invalidation/DescendantInvalidationSet.h
+++ b/Source/core/css/invalidation/DescendantInvalidationSet.h
@@ -31,6 +31,7 @@
#ifndef DescendantInvalidationSet_h
#define DescendantInvalidationSet_h
+#include "core/css/invalidation/StyleInvalidationTracingEnabledFlag.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
@@ -42,6 +43,7 @@
namespace blink {
class Element;
+class TracedValue;
// Tracks data to determine which elements of a DOM subtree need to have style
// recalculated.
@@ -52,6 +54,7 @@ public:
return adoptRefWillBeNoop(new DescendantInvalidationSet);
}
+ template <StyleInvalidationTracingEnabledFlag>
bool invalidatesElement(Element&) const;
void combine(const DescendantInvalidationSet& other);
@@ -74,6 +77,8 @@ public:
void trace(Visitor*);
+ void toTracedValue(TracedValue*) const;
+
#ifndef NDEBUG
void show() const;
#endif

Powered by Google App Engine
This is Rietveld 408576698