summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 20:43:50 +0000
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 20:43:50 +0000
commit6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c (patch)
treedeebf83cadf46bf317edb6f4b091f951ce7ed92f /chrome/browser/tab_contents
parent8395110bf6ef9bb74b27b7340561f0a96fc7b010 (diff)
downloadchromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.zip
chromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.tar.gz
chromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.tar.bz2
Plumb through site-specific quirks setting with a command line switch.
Quirks are enabled by default. R=darin BUG=19586 TEST=wikileaks.org should now have its sidebar in the proper place. Review URL: http://codereview.chromium.org/442010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
index b57175c..974a15f 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -185,6 +185,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
!command_line.HasSwitch(switches::kDisableDatabases);
web_prefs.experimental_webgl_enabled =
command_line.HasSwitch(switches::kEnableExperimentalWebGL);
+ web_prefs.site_specific_quirks_enabled =
+ !command_line.HasSwitch(switches::kDisableSiteSpecificQuirks);
}
web_prefs.uses_universal_detector =