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 ccd1152d7cc4ac929bed64d8bdf0bcdb537062f4..64284d1364b5dc5a8be8160bda15e94b37dcba61 100644 |
--- a/content/common/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/common/indexed_db/indexed_db_dispatcher.cc |
@@ -105,8 +105,6 @@ void IndexedDBDispatcher::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksBlocked, OnBlocked) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksIntBlocked, OnIntBlocked) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_CallbacksUpgradeNeeded, OnUpgradeNeeded) |
- IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbortLegacy, |
- OnAbortLegacy) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksAbort, OnAbort) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_TransactionCallbacksComplete, OnComplete) |
IPC_MESSAGE_HANDLER(IndexedDBMsg_DatabaseCallbacksForcedClose, |
@@ -689,17 +687,6 @@ void IndexedDBDispatcher::OnError(int32 thread_id, int32 response_id, int code, |
pending_callbacks_.Remove(response_id); |
} |
-// TODO(jsbell): Remove once WK99097 has landed. |
-void IndexedDBDispatcher::OnAbortLegacy(int32 thread_id, int32 transaction_id) { |
- DCHECK_EQ(thread_id, CurrentWorkerId()); |
- WebIDBTransactionCallbacks* callbacks = |
- pending_transaction_callbacks_.Lookup(transaction_id); |
- if (!callbacks) |
- return; |
- callbacks->onAbort(); |
- pending_transaction_callbacks_.Remove(transaction_id); |
-} |
- |
void IndexedDBDispatcher::OnAbort(int32 thread_id, int32 transaction_id, |
int code, const string16& message) { |
DCHECK_EQ(thread_id, CurrentWorkerId()); |