| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| index 28b1a68079a7528d972e685a18b5bdd5213afe97..2711cd77c7c9e073c3d2d6a74e7866b8adf69d1b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
|
| @@ -127,7 +127,9 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations) {
|
| host.AddTimeline(*compositor_timeline);
|
| compositor_timeline->PlayerAttached(player);
|
|
|
| - platform_layer_->SetElementId(CompositorElementId(platform_layer_->Id(), 0));
|
| + CompositorElementId element_id;
|
| + element_id.id = platform_layer_->Id();
|
| + platform_layer_->SetElementId(element_id);
|
|
|
| player.CompositorPlayer()->AttachElement(platform_layer_->GetElementId());
|
| ASSERT_TRUE(player.CompositorPlayer()->IsElementAttached());
|
|
|