Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2164)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 10052005: Add DCHECK to ensure IndexedDBDispatcher doesn't get re-created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix kHasBeenDeleted Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 320c8201a5a520b8d426f0795c7657a559188f0e..da7c9d24474c2824e50ac7d445e250e53489c437 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -32,7 +32,6 @@
#include "content/common/gpu/gpu_messages.h"
#include "content/common/indexed_db/indexed_db_dispatcher.h"
#include "content/common/indexed_db/indexed_db_message_filter.h"
-#include "content/common/indexed_db/proxy_webidbfactory_impl.h"
#include "content/common/npobject_util.h"
#include "content/common/plugin_messages.h"
#include "content/common/resource_dispatcher.h"
@@ -210,8 +209,7 @@ void RenderThreadImpl::Init() {
compositor_initialized_ = false;
appcache_dispatcher_.reset(new AppCacheDispatcher(Get()));
- main_thread_indexed_db_dispatcher_.reset(
- IndexedDBDispatcher::ThreadSpecificInstance());
+ main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher());
media_stream_center_ = NULL;
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698