| 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 614331c0a4794824d789d3080aa40ef23e9e8aa7..e1d590ff449f588a4c841221b6d1a74bdc712be8 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
|
| @@ -770,6 +770,9 @@ TEST_F(PaintArtifactCompositorTestWithPropertyTrees, OneScrollNode) {
|
| EXPECT_EQ(transform_node_index, transform_node.id);
|
|
|
| EXPECT_EQ(0u, scroll_client.did_scroll_count);
|
| + // TODO(pdr): The PaintArtifactCompositor should set the scroll clip layer id
|
| + // so the Layer is scrollable. This call should be removed.
|
| + layer->SetScrollClipLayerId(layer->id());
|
| layer->SetScrollOffsetFromImplSide(gfx::ScrollOffset(1, 2));
|
| EXPECT_EQ(1u, scroll_client.did_scroll_count);
|
| EXPECT_EQ(gfx::ScrollOffset(1, 2), scroll_client.last_scroll_offset);
|
|
|