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

Unified Diff: content/shell/renderer/layout_test/webkit_test_runner.cc

Issue 944083004: Set default page scale limits in layout test preferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « content/shell/common/webkit_test_helpers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/webkit_test_runner.cc
diff --git a/content/shell/renderer/layout_test/webkit_test_runner.cc b/content/shell/renderer/layout_test/webkit_test_runner.cc
index 779c6395065dbae30e79ad3153df81078d126afe..209ac22e29b059ea3b7551029b7703090a3f57c8 100644
--- a/content/shell/renderer/layout_test/webkit_test_runner.cc
+++ b/content/shell/renderer/layout_test/webkit_test_runner.cc
@@ -668,8 +668,6 @@ void WebKitTestRunner::Reset() {
render_view()->ClearEditCommands();
render_view()->GetWebView()->mainFrame()->setName(WebString());
render_view()->GetWebView()->mainFrame()->clearOpener();
- render_view()->GetWebView()->setDefaultPageScaleLimits(1, 4);
- render_view()->GetWebView()->setPageScaleFactor(1, WebPoint(0, 0));
bokan 2015/02/23 17:07:26 This is a no-op since resetInternalsObject dose th
// Resetting the internals object also overrides the WebPreferences, so we
// have to sync them to WebKit again.
« no previous file with comments | « content/shell/common/webkit_test_helpers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698