Index: content/worker/worker_webkitplatformsupport_impl.cc |
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
index d37621a600c2ee529fa4565f7afc3c2129a73683..08d74c208115818c96fd821c56bbd92a5c955058 100644 |
--- a/content/worker/worker_webkitplatformsupport_impl.cc |
+++ b/content/worker/worker_webkitplatformsupport_impl.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -9,6 +9,7 @@ |
#include "content/common/database_util.h" |
#include "content/common/file_system/webfilesystem_impl.h" |
#include "content/common/file_utilities_messages.h" |
+#include "content/common/indexed_db/proxy_webidbfactory_impl.h" |
#include "content/common/mime_registry_messages.h" |
#include "content/common/webblobregistry_impl.h" |
#include "content/common/webmessageportchannel_impl.h" |
@@ -208,6 +209,13 @@ long long WorkerWebKitPlatformSupportImpl::databaseGetSpaceAvailableForOrigin( |
return DatabaseUtil::DatabaseGetSpaceAvailable(origin_identifier); |
} |
+WebKit::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() { |
+ if (!web_idb_factory_.get()) { |
+ web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); |
michaeln
2012/02/15 03:45:03
RendererWebIDBFactory looks out of place, is the p
dgrogan
2012/02/15 08:34:59
Yep.
Also
|
+ } |
+ return web_idb_factory_.get(); |
+} |
+ |
WebMimeRegistry::SupportsType |
WorkerWebKitPlatformSupportImpl::supportsMIMEType( |
const WebString&) { |