Index: content/common/indexed_db/indexed_db_dispatcher.cc |
diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc |
index 4844b749ed6af1ef44b2902f954230331d3d400a..1a14bff01e1a10de10c43907b638b630a35045cd 100644 |
--- a/content/common/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/common/indexed_db/indexed_db_dispatcher.cc |
@@ -159,8 +159,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) { |
OnForcedClose) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksIntVersionChange, |
OnIntVersionChange) |
- IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksVersionChange, |
- OnVersionChange) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksAbort, OnAbort) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksComplete, OnComplete) |
IPC_MESSAGE_UNHANDLED(handled = false) |
@@ -769,19 +767,6 @@ void IndexedDBDispatcher::OnIntVersionChange(int32 ipc_thread_id, |
callbacks->onVersionChange(old_version, new_version); |
} |
-void IndexedDBDispatcher::OnVersionChange(int32 ipc_thread_id, |
- int32 ipc_database_id, |
- const string16& newVersion) { |
- DCHECK_EQ(ipc_thread_id, CurrentWorkerId()); |
- WebIDBDatabaseCallbacks* callbacks = |
- pending_database_callbacks_.Lookup(ipc_database_id); |
- // callbacks would be NULL if a versionchange event is received after close |
- // has been called. |
- if (!callbacks) |
- return; |
- callbacks->onVersionChange(newVersion); |
-} |
- |
void IndexedDBDispatcher::ResetCursorPrefetchCaches( |
int32 ipc_exception_cursor_id) { |
typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; |