diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 00:37:58 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 00:37:58 +0000 |
commit | 0afb993799a67ee58cf16c1cc3ce6fd813d88841 (patch) | |
tree | acd25e47b2fae473594fa7893185bb29c5e584cb /chrome/renderer/render_thread.cc | |
parent | ec45150a89bb02e1f9c4ab159924af22b4952b33 (diff) | |
download | chromium_src-0afb993799a67ee58cf16c1cc3ce6fd813d88841.zip chromium_src-0afb993799a67ee58cf16c1cc3ce6fd813d88841.tar.gz chromium_src-0afb993799a67ee58cf16c1cc3ce6fd813d88841.tar.bz2 |
Instructing V8 to disable the binding for the window.openDatabase()
function.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/295053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r-- | chrome/renderer/render_thread.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index ed2c5dd..a95e906 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -514,6 +514,9 @@ void RenderThread::EnsureWebKitInitialized() { if (command_line.HasSwitch(switches::kEnableWebSockets)) WebKit::enableWebSockets(); + + if (command_line.HasSwitch(switches::kEnableDatabases)) + WebKit::enableDatabases(); } void RenderThread::IdleHandler() { |