| 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 26cdc980b6e4174121c1bd68505238edfb7ac9eb..5d9ed2a0ff7a59b3a8af17acd82716661355acc0 100644
|
| --- a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| @@ -53,7 +53,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);
|
| @@ -85,7 +85,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);
|
|
|