Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 4e1411dd138d3f28dba2ca88e309edc18057a482..e6027ad1e4b222b24d853647f266a24b319b423c 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -589,6 +589,11 @@ void BrowserMainLoop::CreateThreads() { |
} |
+#if !defined(OS_IOS) |
+ indexed_db_thread_.reset(new base::Thread("IndexedDB")); |
+ indexed_db_thread_->Start(); |
+#endif |
+ |
BrowserThreadsStarted(); |
if (parts_) { |
@@ -737,6 +742,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 |