Index: content/renderer/renderer_webidbobjectstore_impl.cc |
diff --git a/content/renderer/renderer_webidbobjectstore_impl.cc b/content/renderer/renderer_webidbobjectstore_impl.cc |
index 97a9be404e083ca0e937c887f4b353024670ec7f..91a24aa1df391b13864960e3ea59ef66c9f8bf10 100644 |
--- a/content/renderer/renderer_webidbobjectstore_impl.cc |
+++ b/content/renderer/renderer_webidbobjectstore_impl.cc |
@@ -75,7 +75,7 @@ void RendererWebIDBObjectStoreImpl::get( |
const WebIDBTransaction& transaction, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ ChildThread::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBObjectStoreGet( |
IndexedDBKey(key), callbacks, idb_object_store_id_, transaction, &ec); |
} |
@@ -88,7 +88,7 @@ void RendererWebIDBObjectStoreImpl::put( |
const WebIDBTransaction& transaction, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ ChildThread::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBObjectStorePut( |
content::SerializedScriptValue(value), IndexedDBKey(key), put_mode, |
callbacks, idb_object_store_id_, transaction, &ec); |
@@ -100,7 +100,7 @@ void RendererWebIDBObjectStoreImpl::deleteFunction( |
const WebIDBTransaction& transaction, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ ChildThread::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBObjectStoreDelete( |
IndexedDBKey(key), callbacks, idb_object_store_id_, transaction, &ec); |
} |
@@ -110,7 +110,7 @@ void RendererWebIDBObjectStoreImpl::clear( |
const WebIDBTransaction& transaction, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ ChildThread::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBObjectStoreClear( |
callbacks, idb_object_store_id_, transaction, &ec); |
} |
@@ -164,7 +164,7 @@ void RendererWebIDBObjectStoreImpl::openCursor( |
const WebIDBTransaction& transaction, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ ChildThread::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBObjectStoreOpenCursor( |
idb_key_range, direction, callbacks, idb_object_store_id_, |
transaction, &ec); |