summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 20:42:37 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-26 20:42:37 +0000
commit425c270648ba5c7ed37fc8db8d659a54f5406f71 (patch)
tree62019e88ef452e97ec30268988b007045d29aafa /chrome/renderer/render_thread.cc
parent9a8fe19a1ed7345d6c2a77c28b8be85fc0ce99f9 (diff)
downloadchromium_src-425c270648ba5c7ed37fc8db8d659a54f5406f71.zip
chromium_src-425c270648ba5c7ed37fc8db8d659a54f5406f71.tar.gz
chromium_src-425c270648ba5c7ed37fc8db8d659a54f5406f71.tar.bz2
Enable the appcache by default and add a cmd line switch to optionally disable it.
BUG=25977 TEST=manual, verified disabled with --disable-application-cache Review URL: http://codereview.chromium.org/548122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r--chrome/renderer/render_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 952a053..a19cbdd 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -615,7 +615,7 @@ void RenderThread::EnsureWebKitInitialized() {
!command_line.HasSwitch(switches::kDisableDatabases));
WebRuntimeFeatures::enableApplicationCache(
- command_line.HasSwitch(switches::kEnableApplicationCache));
+ !command_line.HasSwitch(switches::kDisableApplicationCache));
#if defined(OS_WIN) || (defined(OS_LINUX) && defined(TOOLKIT_GTK))
// Notifications are supported on Windows and Linux only.