Index: content/renderer/renderer_webidbcursor_impl.cc |
diff --git a/content/renderer/renderer_webidbcursor_impl.cc b/content/renderer/renderer_webidbcursor_impl.cc |
index 8060040a886cdad2a4ec85a515cc61b6d31b2e93..7c8b86a86177d8269430581241cb345ca7e7b7fb 100644 |
--- a/content/renderer/renderer_webidbcursor_impl.cc |
+++ b/content/renderer/renderer_webidbcursor_impl.cc |
@@ -22,16 +22,16 @@ RendererWebIDBCursorImpl::~RendererWebIDBCursorImpl() { |
// object since inside WebKit, they hold a reference to the object wich owns |
// this object. But, if that ever changed, then we'd need to invalidate |
// any such pointers. |
- RenderThreadImpl::current()->Send(new IndexedDBHostMsg_CursorDestroyed( |
+ 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_); |
} |
unsigned short RendererWebIDBCursorImpl::direction() const { |
int direction; |
- RenderThreadImpl::current()->Send( |
+ ChildThread::current()->Send( |
new IndexedDBHostMsg_CursorDirection(idb_cursor_id_, &direction)); |
return direction; |
} |
@@ -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); |
} |