Index: content/renderer/renderer_webidbcursor_impl.cc |
=================================================================== |
--- content/renderer/renderer_webidbcursor_impl.cc (revision 104358) |
+++ content/renderer/renderer_webidbcursor_impl.cc (working copy) |
@@ -6,7 +6,7 @@ |
#include "content/common/indexed_db_messages.h" |
#include "content/renderer/indexed_db_dispatcher.h" |
-#include "content/renderer/render_thread.h" |
+#include "content/renderer/render_thread_impl.h" |
using WebKit::WebExceptionCode; |
using WebKit::WebIDBCallbacks; |
@@ -22,34 +22,34 @@ |
// 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. |
- RenderThread::current()->Send(new IndexedDBHostMsg_CursorDestroyed( |
+ RenderThreadImpl::current()->Send(new IndexedDBHostMsg_CursorDestroyed( |
idb_cursor_id_)); |
} |
unsigned short RendererWebIDBCursorImpl::direction() const { |
int direction; |
- RenderThread::current()->Send( |
+ RenderThreadImpl::current()->Send( |
new IndexedDBHostMsg_CursorDirection(idb_cursor_id_, &direction)); |
return direction; |
} |
WebIDBKey RendererWebIDBCursorImpl::key() const { |
IndexedDBKey key; |
- RenderThread::current()->Send( |
+ RenderThreadImpl::current()->Send( |
new IndexedDBHostMsg_CursorKey(idb_cursor_id_, &key)); |
return key; |
} |
WebIDBKey RendererWebIDBCursorImpl::primaryKey() const { |
IndexedDBKey primaryKey; |
- RenderThread::current()->Send( |
+ RenderThreadImpl::current()->Send( |
new IndexedDBHostMsg_CursorPrimaryKey(idb_cursor_id_, &primaryKey)); |
return primaryKey; |
} |
WebSerializedScriptValue RendererWebIDBCursorImpl::value() const { |
SerializedScriptValue scriptValue; |
- RenderThread::current()->Send( |
+ RenderThreadImpl::current()->Send( |
new IndexedDBHostMsg_CursorValue(idb_cursor_id_, &scriptValue)); |
return scriptValue; |
} |
@@ -58,7 +58,7 @@ |
WebIDBCallbacks* callbacks, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThread::current()->indexed_db_dispatcher(); |
+ RenderThreadImpl::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBCursorUpdate(SerializedScriptValue(value), callbacks, |
idb_cursor_id_, &ec); |
} |
@@ -67,7 +67,7 @@ |
WebIDBCallbacks* callbacks, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThread::current()->indexed_db_dispatcher(); |
+ RenderThreadImpl::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBCursorContinue(IndexedDBKey(key), callbacks, |
idb_cursor_id_, &ec); |
} |
@@ -75,6 +75,6 @@ |
void RendererWebIDBCursorImpl::deleteFunction(WebIDBCallbacks* callbacks, |
WebExceptionCode& ec) { |
IndexedDBDispatcher* dispatcher = |
- RenderThread::current()->indexed_db_dispatcher(); |
+ RenderThreadImpl::current()->indexed_db_dispatcher(); |
dispatcher->RequestIDBCursorDelete(callbacks, idb_cursor_id_, &ec); |
} |