Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1571833002: Add popup layout tests with device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index e790d9a3f1bd895213f6d1e52ce30f9d39b59689..aa26005c24cd5e22e7772a63c0a8d22a81decf0b 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -208,7 +208,6 @@ void Internals::resetToConsistentState(Page* page)
if (!sFeaturesBackup)
sFeaturesBackup = new RuntimeEnabledFeatures::Backup;
sFeaturesBackup->restore();
- page->setDeviceScaleFactor(1);
Noel Gordon 2016/01/09 03:23:51 Yes!
page->setIsCursorVisible(true);
page->setPageScaleFactor(1);
page->deprecatedLocalMainFrame()->view()->layoutViewportScrollableArea()->setScrollPosition(IntPoint(0, 0), ProgrammaticScroll);

Powered by Google App Engine
This is Rietveld 408576698