Index: content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc b/content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc |
index 937dae466a9a0a3101e13f1492e4e8aeb9c7cba7..cec2e37458ee86f4186d5c04876a152626b156b8 100644 |
--- a/content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc |
+++ b/content/browser/in_process_webkit/indexed_db_transaction_callbacks.cc |
@@ -19,9 +19,18 @@ IndexedDBTransactionCallbacks::IndexedDBTransactionCallbacks( |
IndexedDBTransactionCallbacks::~IndexedDBTransactionCallbacks() { |
} |
+// TODO(jsbell): Remove once WK99097 has landed. |
void IndexedDBTransactionCallbacks::onAbort() { |
dispatcher_host_->Send( |
- new IndexedDBMsg_TransactionCallbacksAbort(thread_id_, transaction_id_)); |
+ new IndexedDBMsg_TransactionCallbacksAbortLegacy( |
+ thread_id_, transaction_id_)); |
+} |
+ |
+void IndexedDBTransactionCallbacks::onAbort( |
+ const WebKit::WebIDBDatabaseError& error) { |
+ dispatcher_host_->Send( |
+ new IndexedDBMsg_TransactionCallbacksAbort( |
+ thread_id_, transaction_id_, error.code(), error.message())); |
} |
void IndexedDBTransactionCallbacks::onComplete() { |