| 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 6b8bd1d27a4d2efdcc1de0595602daef3cf1e2ff..b2e6e095f0f9840e161dccf0f2c46bc41dcfda51 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"));
|
|
|