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

Unified Diff: third_party/WebKit/Source/platform/testing/TestPaintArtifact.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/testing/TestPaintArtifact.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
index 431cac89ca025f086c510c2e638e152b58f753b3..b5159fe10a207e15ba3dc574abdd445d12c623ef 100644
--- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
@@ -52,11 +52,9 @@ TestPaintArtifact& TestPaintArtifact::chunk(
PassRefPtr<ClipPaintPropertyNode> clip,
PassRefPtr<EffectPaintPropertyNode> effect,
PassRefPtr<ScrollPaintPropertyNode> scroll) {
- PaintChunkProperties properties;
- properties.transform = transform;
- properties.clip = clip;
- properties.effect = effect;
- properties.scroll = scroll;
+ PropertyTreeState propertyTreeState(transform.get(), clip.get(), effect.get(),
+ scroll.get());
+ PaintChunkProperties properties(propertyTreeState);
return chunk(properties);
}

Powered by Google App Engine
This is Rietveld 408576698