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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 2573883002: Refactor PaintChunkProperties to use PropertyTreeState (Closed)
Patch Set: none Created 4 years 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/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index e8ee61284e0ece14dca9be84bc30cd6b076d92ab..6e429b009f0f55c32ac38b5fb03ba460e41c82c5 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -786,13 +786,13 @@ void PaintArtifactCompositor::update(
: nullptr);
int transformId = propertyTreeManager.compositorIdForTransformNode(
- paintChunk.properties.transform.get());
+ paintChunk.properties.propertyTreeState.transform());
int scrollId = propertyTreeManager.compositorIdForScrollNode(
- paintChunk.properties.scroll.get());
+ paintChunk.properties.propertyTreeState.scroll());
int clipId = propertyTreeManager.compositorIdForClipNode(
- paintChunk.properties.clip.get());
+ paintChunk.properties.propertyTreeState.clip());
int effectId = propertyTreeManager.switchToEffectNode(
- *paintChunk.properties.effect.get());
+ *paintChunk.properties.propertyTreeState.effect());
propertyTreeManager.updateScrollOffset(layer->id(), scrollId);

Powered by Google App Engine
This is Rietveld 408576698