| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 070d3bf3dca55b5c8119e4e9d8335a1991d2a604..1cb1c555907d2a9f6c211c641cf437a0c1874bdf 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()->layoutViewportScrollableArea()->setScrollPosition(IntPoint(0, 0), ProgrammaticScroll);
|
| overrideUserPreferredLanguages(Vector<AtomicString>());
|
| if (!page->deprecatedLocalMainFrame()->spellChecker().isContinuousSpellCheckingEnabled())
|
| page->deprecatedLocalMainFrame()->spellChecker().toggleContinuousSpellChecking();
|
|
|