Chromium Code Reviews| Index: Source/core/testing/Internals.cpp |
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
| index 981b7c9143119ef885b49b9ea5f0d3ab908a0531..da49e4f227606c2a39038897ab21805337db7137 100644 |
| --- a/Source/core/testing/Internals.cpp |
| +++ b/Source/core/testing/Internals.cpp |
| @@ -210,7 +210,8 @@ void Internals::resetToConsistentState(Page* page) |
| page->setDeviceScaleFactor(1); |
| page->setIsCursorVisible(true); |
| - page->setPageScaleFactor(1, IntPoint(0, 0)); |
| + page->setPageScaleFactor(1); |
| + page->deprecatedLocalMainFrame()->view()->setScrollPosition(IntPoint(0, 0), ProgrammaticScroll); |
|
bokan
2015/08/07 15:08:01
view()->layoutViewportScrollableArea()->setScrollP
majidvp
2015/08/07 18:24:06
Done.
|
| overrideUserPreferredLanguages(Vector<AtomicString>()); |
| if (!page->deprecatedLocalMainFrame()->spellChecker().isContinuousSpellCheckingEnabled()) |
| page->deprecatedLocalMainFrame()->spellChecker().toggleContinuousSpellChecking(); |