diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-26 20:42:37 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-26 20:42:37 +0000 |
commit | 425c270648ba5c7ed37fc8db8d659a54f5406f71 (patch) | |
tree | 62019e88ef452e97ec30268988b007045d29aafa /chrome/renderer/render_thread.cc | |
parent | 9a8fe19a1ed7345d6c2a77c28b8be85fc0ce99f9 (diff) | |
download | chromium_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.cc | 2 |
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. |