Index: content/browser/storage_partition_impl.cc |
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc |
index 0545c3ab29acfdc0cb9fb208511b3e56983b1980..ceb2d235992dfa20d6a0da117d1cdec3e35098a5 100644 |
--- a/content/browser/storage_partition_impl.cc |
+++ b/content/browser/storage_partition_impl.cc |
@@ -7,7 +7,9 @@ |
#include <set> |
#include <vector> |
+#include "base/location.h" |
#include "base/sequenced_task_runner.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/utf_string_conversions.h" |
#include "content/browser/browser_main_loop.h" |
#include "content/browser/fileapi/browser_file_system_helper.h" |
@@ -484,8 +486,10 @@ StoragePartitionImpl* StoragePartitionImpl::Create( |
base::SequencedTaskRunner* idb_task_runner = |
BrowserThread::CurrentlyOn(BrowserThread::UI) && |
BrowserMainLoop::GetInstance() |
- ? BrowserMainLoop::GetInstance()->indexed_db_thread() |
- ->message_loop_proxy().get() |
+ ? BrowserMainLoop::GetInstance() |
+ ->indexed_db_thread() |
+ ->task_runner() |
+ .get() |
: NULL; |
scoped_refptr<IndexedDBContextImpl> indexed_db_context = |
new IndexedDBContextImpl(path, |