| 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 6f54fa5df8d4b009dca293be88f07ff351837724..ba6f4fa4baff25cd7ff8536fd5c444f2fc31d10e 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| +++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
|
| @@ -242,6 +242,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryOpen(
|
| // created) if this origin is already over quota.
|
| Context()->GetIDBFactory()->open(
|
| params.name,
|
| + params.version,
|
| new IndexedDBCallbacks<WebIDBDatabase>(this, params.thread_id,
|
| params.response_id, origin_url),
|
| origin, NULL, webkit_glue::FilePathToWebString(indexed_db_path));
|
| @@ -276,6 +277,7 @@ ObjectType* IndexedDBDispatcherHost::GetOrTerminateProcess(
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
|
| ObjectType* return_object = map->Lookup(return_object_id);
|
| if (!return_object) {
|
| + NOTREACHED() << "Uh oh, couldn't find object with id " << return_object_id;
|
| content::RecordAction(UserMetricsAction("BadMessageTerminate_IDBMF"));
|
| BadMessageReceived();
|
| }
|
| @@ -1143,6 +1145,8 @@ void IndexedDBDispatcherHost::
|
|
|
| void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed(
|
| int32 object_id) {
|
| + // TODO(dgrogan): This doesn't seem to be happening with some version change
|
| + // transactions. Possibly introduced with integer version support.
|
| transaction_size_map_.erase(object_id);
|
| transaction_url_map_.erase(object_id);
|
| parent_->DestroyObject(&map_, object_id);
|
|
|