| Index: content/renderer/renderer_webidbcursor_impl.cc
|
| diff --git a/content/renderer/renderer_webidbcursor_impl.cc b/content/renderer/renderer_webidbcursor_impl.cc
|
| index 5ba7820710180d1be1bd9d50cc584a9e8bb97b0f..7c8b86a86177d8269430581241cb345ca7e7b7fb 100644
|
| --- a/content/renderer/renderer_webidbcursor_impl.cc
|
| +++ b/content/renderer/renderer_webidbcursor_impl.cc
|
| @@ -25,7 +25,7 @@ RendererWebIDBCursorImpl::~RendererWebIDBCursorImpl() {
|
| ChildThread::current()->Send(new IndexedDBHostMsg_CursorDestroyed(
|
| idb_cursor_id_));
|
| IndexedDBDispatcher* dispatcher =
|
| - RenderThreadImpl::current()->indexed_db_dispatcher();
|
| + ChildThread::current()->indexed_db_dispatcher();
|
| dispatcher->CursorDestroyed(idb_cursor_id_);
|
| }
|
|
|
| @@ -52,7 +52,7 @@ void RendererWebIDBCursorImpl::update(const WebSerializedScriptValue& value,
|
| WebIDBCallbacks* callbacks,
|
| WebExceptionCode& ec) {
|
| IndexedDBDispatcher* dispatcher =
|
| - RenderThreadImpl::current()->indexed_db_dispatcher();
|
| + ChildThread::current()->indexed_db_dispatcher();
|
| dispatcher->RequestIDBCursorUpdate(
|
| content::SerializedScriptValue(value), callbacks, idb_cursor_id_, &ec);
|
| }
|
| @@ -61,7 +61,7 @@ void RendererWebIDBCursorImpl::continueFunction(const WebIDBKey& key,
|
| WebIDBCallbacks* callbacks,
|
| WebExceptionCode& ec) {
|
| IndexedDBDispatcher* dispatcher =
|
| - RenderThreadImpl::current()->indexed_db_dispatcher();
|
| + ChildThread::current()->indexed_db_dispatcher();
|
| dispatcher->RequestIDBCursorContinue(IndexedDBKey(key), callbacks,
|
| idb_cursor_id_, &ec);
|
| }
|
| @@ -69,7 +69,7 @@ void RendererWebIDBCursorImpl::continueFunction(const WebIDBKey& key,
|
| void RendererWebIDBCursorImpl::deleteFunction(WebIDBCallbacks* callbacks,
|
| WebExceptionCode& ec) {
|
| IndexedDBDispatcher* dispatcher =
|
| - RenderThreadImpl::current()->indexed_db_dispatcher();
|
| + ChildThread::current()->indexed_db_dispatcher();
|
| dispatcher->RequestIDBCursorDelete(callbacks, idb_cursor_id_, &ec);
|
| }
|
|
|
|
|