| Index: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| index 8528137be78d62099bd41ce4e6b038e9d3fdd890..d1dcaee0f53be12e902761f780ab4ce1d66e3a08 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| @@ -734,11 +734,11 @@ TEST_F(WebPluginContainerTest, CompositedPluginSPv2) {
|
| static_cast<const CompositedPlugin*>(container->plugin());
|
|
|
| std::unique_ptr<PaintController> paintController = PaintController::create();
|
| - 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);
|
| +
|
| paintController->updateCurrentPaintChunkProperties(nullptr, properties);
|
| GraphicsContext graphicsContext(*paintController);
|
| container->paint(graphicsContext, CullRect(IntRect(10, 10, 400, 300)));
|
|
|