summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 08:52:47 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 08:52:47 +0000
commitfa1b5dace74e745d2484012f98559d69825078f5 (patch)
treee25b919f546afd26209ac1a8351362571c2f30bf /chrome/renderer/render_thread.cc
parenta84d37604865e6d46dbbcf43af5f974e687f55a9 (diff)
downloadchromium_src-fa1b5dace74e745d2484012f98559d69825078f5.zip
chromium_src-fa1b5dace74e745d2484012f98559d69825078f5.tar.gz
chromium_src-fa1b5dace74e745d2484012f98559d69825078f5.tar.bz2
Revert r24223. Storage test is not working.
TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r--chrome/renderer/render_thread.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 4b6c60a..c6e5b17 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -415,6 +415,13 @@ void RenderThread::EnsureWebKitInitialized() {
if (RenderProcess::current()->initialized_media_library())
WebKit::enableMediaPlayer();
+
+ // Note: We are forcing --enable-databases to on with --enable-extensions so
+ // that extension developers can test databases.
+ if (command_line.HasSwitch(switches::kEnableDatabases) ||
+ command_line.HasSwitch(switches::kEnableExtensions)) {
+ WebKit::enableDatabases();
+ }
}
void RenderThread::OnExtensionMessageInvoke(const std::string& function_name,