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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 11565036: [content shell] use WebTestRunner::WebPreferences for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years 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 | content/shell/shell_messages.h » ('j') | content/shell/shell_webpreferences.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 6858810434e92a8907b40c7f41f53ff4827c49e5..21ea92adf5ce471db3db77160848029700de97b4 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -91,7 +91,7 @@ void ShellContentBrowserClient::OverrideWebkitPrefs(
webkit_glue::WebPreferences* prefs) {
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
return;
- WebKitTestController::Get()->web_preferences().Apply(prefs);
+ WebKitTestController::Get()->web_preferences().Export(prefs);
}
void ShellContentBrowserClient::ResourceDispatcherHostCreated() {
« no previous file with comments | « no previous file | content/shell/shell_messages.h » ('j') | content/shell/shell_webpreferences.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698