| Index: third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| index 1d355583f52eb8075b510d6e9086469cc0e6bbb8..aa35f4f728584c8b87a6115fcfefc29869a545af 100644
|
| --- a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| @@ -52,7 +52,7 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithScale) {
|
| loader.GetDocumentLoader()->SetLoadType(kFrameLoadTypeBackForward);
|
|
|
| web_view->SetPageScaleFactor(3.0f);
|
| - web_view->MainFrame()->SetScrollOffset(WebSize(0, 500));
|
| + web_view->MainFrameImpl()->SetScrollOffset(WebSize(0, 500));
|
| loader.GetDocumentLoader()->GetInitialScrollState().was_scrolled_by_user =
|
| false;
|
| loader.GetDocumentLoader()->GetHistoryItem()->SetPageScaleFactor(2);
|
| @@ -84,7 +84,7 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithoutScale) {
|
| loader.GetDocumentLoader()->SetLoadType(kFrameLoadTypeBackForward);
|
|
|
| web_view->SetPageScaleFactor(3.0f);
|
| - web_view->MainFrame()->SetScrollOffset(WebSize(0, 500));
|
| + web_view->MainFrameImpl()->SetScrollOffset(WebSize(0, 500));
|
| loader.GetDocumentLoader()->GetInitialScrollState().was_scrolled_by_user =
|
| false;
|
| loader.GetDocumentLoader()->GetHistoryItem()->SetPageScaleFactor(0);
|
|
|