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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 945363006: Remove setPageScaleFactor from InternalSettings::resetToConsistentState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index fb4e16bda9fdd3153f24a3baf03cbfeb57501010..1995045b40ae6a6cdc8c5af210ce0e30473c9d6b 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -154,8 +154,6 @@ InternalSettings::InternalSettings(Page& page)
void InternalSettings::resetToConsistentState()
{
- page()->setPageScaleFactor(1, IntPoint(0, 0));
-
m_backup.restoreTo(settings());
m_backup = Backup(settings());
m_backup.m_originalTextAutosizingEnabled = settings()->textAutosizingEnabled();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698