| 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 8c217e05649d4628144f6b46f624d609f9ef163d..080a564c40e095b40b574bcb0742e4ab4d9bbcd3 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| +++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| @@ -1068,6 +1068,7 @@ bool IndexedDBDispatcherHost::TransactionDispatcherHost::OnMessageReceived(
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP_EX(IndexedDBDispatcherHost::TransactionDispatcherHost,
|
| message, *msg_is_ok)
|
| + IPC_MESSAGE_HANDLER(IndexedDBHostMsg_TransactionCommit, OnCommit)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_TransactionAbort, OnAbort)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_TransactionMode, OnMode)
|
| IPC_MESSAGE_HANDLER(IndexedDBHostMsg_TransactionObjectStore, OnObjectStore)
|
| @@ -1084,6 +1085,16 @@ void IndexedDBDispatcherHost::TransactionDispatcherHost::Send(
|
| parent_->Send(message);
|
| }
|
|
|
| +void IndexedDBDispatcherHost::TransactionDispatcherHost::OnCommit(
|
| + int32 transaction_id) {
|
| + WebIDBTransaction* idb_transaction = parent_->GetOrTerminateProcess(
|
| + &map_, transaction_id);
|
| + if (!idb_transaction)
|
| + return;
|
| +
|
| + idb_transaction->commit();
|
| +}
|
| +
|
| void IndexedDBDispatcherHost::TransactionDispatcherHost::OnAbort(
|
| int32 transaction_id) {
|
| WebIDBTransaction* idb_transaction = parent_->GetOrTerminateProcess(
|
|
|