Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index a6ba224890db29727486a1ada531d87055d337d8..64e0a791906e12f2f2e52dafa326d5aaa0323ff6 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -57,8 +57,6 @@ |
#include "content/child/child_shared_bitmap_manager.h" |
#include "content/child/content_child_helpers.h" |
#include "content/child/db_message_filter.h" |
-#include "content/child/indexed_db/indexed_db_dispatcher.h" |
-#include "content/child/indexed_db/indexed_db_message_filter.h" |
#include "content/child/resource_dispatcher.h" |
#include "content/child/resource_scheduling_filter.h" |
#include "content/child/runtime_features.h" |
@@ -652,8 +650,10 @@ void RenderThreadImpl::Init( |
appcache_dispatcher_.reset( |
new AppCacheDispatcher(Get(), new AppCacheFrontendImpl())); |
dom_storage_dispatcher_.reset(new DomStorageDispatcher()); |
+#if 0 |
main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher( |
thread_safe_sender())); |
+#endif |
main_thread_cache_storage_dispatcher_.reset( |
new CacheStorageDispatcher(thread_safe_sender())); |
embedded_worker_dispatcher_.reset(new EmbeddedWorkerDispatcher()); |
@@ -705,7 +705,9 @@ void RenderThreadImpl::Init( |
midi_message_filter_ = new MidiMessageFilter(GetIOTaskRunner()); |
AddFilter(midi_message_filter_.get()); |
+#if 0 |
AddFilter((new IndexedDBMessageFilter(thread_safe_sender()))->GetFilter()); |
+#endif |
AddFilter((new CacheStorageMessageFilter(thread_safe_sender()))->GetFilter()); |
@@ -950,7 +952,10 @@ void RenderThreadImpl::Shutdown() { |
// Ramp down IDB before we ramp down WebKit (and V8), since IDB classes might |
// hold pointers to V8 objects (e.g., via pending requests). |
+#if 0 |
+ // TODO(cmumford): Probably need a way to do this using Mojo still. |
main_thread_indexed_db_dispatcher_.reset(); |
+#endif |
main_thread_compositor_task_runner_ = nullptr; |