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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h

Issue 2725513002: Increment property tree sequence number when updating. (Closed)
Patch Set: Add comment. Created 3 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
Index: third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h b/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
index f440beafaa23b42f5ab7b0bbcd25f771435e102d..46f7e5e4392ef0c3618cfad2423cd9f6944a84b3 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h
@@ -32,9 +32,9 @@ class PropertyTreeManager {
WTF_MAKE_NONCOPYABLE(PropertyTreeManager);
public:
- PropertyTreeManager(cc::PropertyTrees&, cc::Layer* rootLayer);
-
- static constexpr int kPropertyTreeSequenceNumber = 1;
+ PropertyTreeManager(cc::PropertyTrees&,
+ cc::Layer* rootLayer,
+ int sequenceNumber);
void setupRootTransformNode();
void setupRootClipNode();
@@ -118,6 +118,7 @@ class PropertyTreeManager {
int id;
};
Vector<BlinkEffectAndCcIdPair> m_effectStack;
+ int m_sequenceNumber;
#if DCHECK_IS_ON()
HashSet<const EffectPaintPropertyNode*> m_effectNodesConverted;

Powered by Google App Engine
This is Rietveld 408576698