summaryrefslogtreecommitdiffstats
path: root/content/worker
diff options
context:
space:
mode:
authorpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 01:20:24 +0000
committerpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 01:20:24 +0000
commit2a23d3f51204fa9feeafe8c8b03119c56f4aea44 (patch)
tree5d36150b9502436759bb15695343ff939d27b80e /content/worker
parenta5584fed16b9dafe756ed4b35cac87630b245592 (diff)
downloadchromium_src-2a23d3f51204fa9feeafe8c8b03119c56f4aea44.zip
chromium_src-2a23d3f51204fa9feeafe8c8b03119c56f4aea44.tar.gz
chromium_src-2a23d3f51204fa9feeafe8c8b03119c56f4aea44.tar.bz2
Call new WebKit::setIDBFactory method to initialize Indexed DB support
Review URL: https://chromiumcodereview.appspot.com/11773005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/worker')
-rw-r--r--content/worker/worker_thread.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/worker/worker_thread.cc b/content/worker/worker_thread.cc
index 3dd90fbb..ace6ede 100644
--- a/content/worker/worker_thread.cc
+++ b/content/worker/worker_thread.cc
@@ -18,6 +18,7 @@
#include "ipc/ipc_sync_channel.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebBlobRegistry.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h"
#include "webkit/glue/webkit_glue.h"
@@ -33,6 +34,8 @@ WorkerThread::WorkerThread() {
lazy_tls.Pointer()->Set(this);
webkit_platform_support_.reset(new WorkerWebKitPlatformSupportImpl);
WebKit::initialize(webkit_platform_support_.get());
+ WebKit::setIDBFactory(
+ webkit_platform_support_.get()->idbFactory());
appcache_dispatcher_.reset(new AppCacheDispatcher(this));