Chromium Code Reviews| 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.
|
| } |