summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 19:07:14 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 19:07:14 +0000
commitf62a8906648ddfcee0ffa9604939d4c7f66891aa (patch)
tree8718200d4678647932c32844e7de6391f22bcf40 /chrome/browser
parent711af1e567247935ce44a0ab253ea9cbfcb3a5fb (diff)
downloadchromium_src-f62a8906648ddfcee0ffa9604939d4c7f66891aa.zip
chromium_src-f62a8906648ddfcee0ffa9604939d4c7f66891aa.tar.gz
chromium_src-f62a8906648ddfcee0ffa9604939d4c7f66891aa.tar.bz2
Enable the XSSAuditor by default.
R=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc2
1 files changed, 1 insertions, 1 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 2f0eef8..4f1a5aa 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -176,7 +176,7 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
web_prefs.remote_fonts_enabled =
command_line.HasSwitch(switches::kEnableRemoteFonts);
web_prefs.xss_auditor_enabled =
- command_line.HasSwitch(switches::kEnableXSSAuditor);
+ !command_line.HasSwitch(switches::kDisableXSSAuditor);
web_prefs.application_cache_enabled =
command_line.HasSwitch(switches::kEnableApplicationCache);