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

Unified Diff: content/shell/common/webkit_test_helpers.cc

Issue 64843004: Get rid of user-level styles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to ToT Created 7 years, 1 month 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/renderer/web_preferences.cc ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/common/webkit_test_helpers.cc
diff --git a/content/shell/common/webkit_test_helpers.cc b/content/shell/common/webkit_test_helpers.cc
index 09f8412c277322442862d317c2b633fc44683d62..a0cebeb29732ed8053bdffe799321375a9d3aaea 100644
--- a/content/shell/common/webkit_test_helpers.cc
+++ b/content/shell/common/webkit_test_helpers.cc
@@ -47,7 +47,6 @@ void ExportLayoutTestSpecificPreferences(
to->allow_file_access_from_file_urls = from.allowFileAccessFromFileURLs;
to->javascript_can_open_windows_automatically =
from.javaScriptCanOpenWindowsAutomatically;
- to->user_style_sheet_location = from.userStyleSheetLocation;
}
// Applies settings that differ between layout tests and regular mode. Some
@@ -96,7 +95,6 @@ void ApplyLayoutTestDefaultPreferences(WebPreferences* prefs) {
webkit_glue::kCommonScript] = ASCIIToUTF16("Helvetica");
prefs->minimum_logical_font_size = 9;
prefs->asynchronous_spell_checking_enabled = false;
- prefs->user_style_sheet_enabled = true;
prefs->threaded_html_parser = true;
prefs->accelerated_2d_canvas_enabled =
command_line.HasSwitch(switches::kEnableAccelerated2DCanvas);
« no previous file with comments | « content/renderer/web_preferences.cc ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698