| Index: Source/web/tests/ProgrammaticScrollTest.cpp
|
| diff --git a/Source/web/tests/ProgrammaticScrollTest.cpp b/Source/web/tests/ProgrammaticScrollTest.cpp
|
| index ce70569d034a840b955cbfe799057e78276438b3..c939f40a91830915e58dbbce1dcd262f69cc484d 100644
|
| --- a/Source/web/tests/ProgrammaticScrollTest.cpp
|
| +++ b/Source/web/tests/ProgrammaticScrollTest.cpp
|
| @@ -59,7 +59,7 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithScale)
|
|
|
| WebViewImpl* webViewImpl = toWebViewImpl(webView);
|
| FrameView* frameView = webViewImpl->mainFrameImpl()->frameView();
|
| - HistoryController* history = webViewImpl->page()->mainFrame()->loader()->history();
|
| + HistoryController* history = webViewImpl->page()->mainFrame()->loader().history();
|
|
|
| // Scale and scroll the page and save that state. Then scale and scroll again and restore.
|
| webViewImpl->setPageScaleFactor(2.0f, WebPoint(0, 200));
|
| @@ -87,7 +87,7 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithoutScale)
|
|
|
| WebViewImpl* webViewImpl = toWebViewImpl(webView);
|
| FrameView* frameView = webViewImpl->mainFrameImpl()->frameView();
|
| - HistoryController* history = webViewImpl->page()->mainFrame()->loader()->history();
|
| + HistoryController* history = webViewImpl->page()->mainFrame()->loader().history();
|
|
|
| // Scale and scroll the page and save that state, but then set scale to zero. Then scale and
|
| // scroll again and restore.
|
|
|