| Index: third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| index 42fedb3ec2a2caa266326d0dcd2dc567b3cf4053..2189fa89cfb7789aad68ce102e51ca005d9671b5 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| @@ -326,7 +326,7 @@ TEST_F(FrameThrottlingTest, UnthrottlingTriggersRepaint) {
|
| .mainFrameImpl()
|
| ->frameView()
|
| ->layoutViewportScrollableArea()
|
| - ->setScrollPosition(DoublePoint(0, 480), ProgrammaticScroll);
|
| + ->setScrollOffset(ScrollOffset(0, 480), ProgrammaticScroll);
|
| auto displayItems = compositeFrame();
|
| EXPECT_FALSE(displayItems.contains(SimCanvas::Rect, "green"));
|
|
|
| @@ -365,7 +365,7 @@ TEST_F(FrameThrottlingTest, UnthrottlingTriggersRepaintInCompositedChild) {
|
| .mainFrameImpl()
|
| ->frameView()
|
| ->layoutViewportScrollableArea()
|
| - ->setScrollPosition(DoublePoint(0, 480), ProgrammaticScroll);
|
| + ->setScrollOffset(ScrollOffset(0, 480), ProgrammaticScroll);
|
| auto displayItems = compositeFrame();
|
| EXPECT_FALSE(displayItems.contains(SimCanvas::Rect, "green"));
|
|
|
| @@ -399,7 +399,7 @@ TEST_F(FrameThrottlingTest, ChangeStyleInThrottledFrame) {
|
| .mainFrameImpl()
|
| ->frameView()
|
| ->layoutViewportScrollableArea()
|
| - ->setScrollPosition(DoublePoint(0, 480), ProgrammaticScroll);
|
| + ->setScrollOffset(ScrollOffset(0, 480), ProgrammaticScroll);
|
| auto displayItems = compositeFrame();
|
| EXPECT_FALSE(displayItems.contains(SimCanvas::Rect, "red"));
|
| EXPECT_FALSE(displayItems.contains(SimCanvas::Rect, "green"));
|
|
|