| Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| index 6d640c5bf00aa617c5a96e95289b455a0a7da97b..877ef6b890a5ad38fcdfab088f7a34aa9971688d 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| +++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| @@ -49,7 +49,8 @@ using WebKit::WebVector;
|
| namespace content {
|
| namespace {
|
|
|
| -template <class T> void DeleteOnWebKitThread(T* obj) {
|
| +template <class T>
|
| +void DeleteOnWebKitThread(T* obj) {
|
| if (!BrowserThread::DeleteSoon(
|
| BrowserThread::WEBKIT_DEPRECATED, FROM_HERE, obj))
|
| delete obj;
|
| @@ -741,7 +742,6 @@ bool IndexedDBDispatcherHost::CursorDispatcherHost::OnMessageReceived(
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorContinue, OnContinue)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorPrefetch, OnPrefetch)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorPrefetchReset, OnPrefetchReset)
|
| - IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorDelete, OnDelete)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_CursorDestroyed, OnDestroyed)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| @@ -817,20 +817,6 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::OnPrefetchReset(
|
| idb_cursor->prefetchReset(used_prefetches, unused_prefetches);
|
| }
|
|
|
| -void IndexedDBDispatcherHost::CursorDispatcherHost::OnDelete(
|
| - int32 ipc_cursor_id,
|
| - int32 ipc_thread_id,
|
| - int32 ipc_callbacks_id) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
|
| - WebIDBCursor* idb_cursor =
|
| - parent_->GetOrTerminateProcess(&map_, ipc_cursor_id);
|
| - if (!idb_cursor)
|
| - return;
|
| -
|
| - idb_cursor->deleteFunction(new IndexedDBCallbacks<WebData>(
|
| - parent_, ipc_thread_id, ipc_callbacks_id));
|
| -}
|
| -
|
| void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed(
|
| int32 ipc_object_id) {
|
| parent_->DestroyObject(&map_, ipc_object_id);
|
|
|