Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index f16ea4fd96141af801580c68fd9b22927eb824a2..98ef6b21557854fa9ea33d806b3e40a1395cca81 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -601,6 +601,11 @@ void BrowserMainLoop::CreateThreads() { |
} |
+#if !defined(OS_IOS) |
+ indexed_db_thread_.reset(new base::Thread("IndexedDB")); |
+ indexed_db_thread_->Start(); |
+#endif |
+ |
BrowserThreadsStarted(); |
if (parts_) { |
@@ -749,6 +754,10 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
} |
} |
+#if !defined(OS_IOS) |
+ indexed_db_thread_.reset(); |
+#endif |
+ |
// Close the blocking I/O pool after the other threads. Other threads such |
// as the I/O thread may need to schedule work like closing files or flushing |
// data during shutdown, so the blocking pool needs to be available. There |