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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.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/PaintArtifactCompositorTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
index 65f83f61022d50aedf41436d772b9b9bf38b6371..d2040d1ad1e0f6d8cada1a265336cbe2e97663ec 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
@@ -34,11 +34,11 @@ using ::blink::testing::createOpacityOnlyEffect;
using ::testing::Pointee;
PaintChunkProperties defaultPaintChunkProperties() {
- PaintChunkProperties properties;
- properties.transform = TransformPaintPropertyNode::root();
- properties.clip = ClipPaintPropertyNode::root();
- properties.effect = EffectPaintPropertyNode::root();
- properties.scroll = ScrollPaintPropertyNode::root();
+ PropertyTreeState propertyTreeState(
+ TransformPaintPropertyNode::root(), ClipPaintPropertyNode::root(),
+ EffectPaintPropertyNode::root(), ScrollPaintPropertyNode::root());
+ PaintChunkProperties properties(propertyTreeState);
+
return properties;
Xianzhu 2016/12/13 18:26:20 Nit: return PaintChunkProperties(propertyTreeStat
chrishtr 2016/12/13 21:03:40 Done.
}

Powered by Google App Engine
This is Rietveld 408576698