Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp

Issue 10630009: Merge 120828 - [Chromium] IndexedDB: Don't close database if pending connections are in flight (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp
===================================================================
--- Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp (revision 120957)
+++ Source/WebCore/Modules/indexeddb/IDBFactoryBackendImpl.cpp (working copy)
@@ -182,8 +182,8 @@
RefPtr<IDBDatabaseBackendImpl> databaseBackend = IDBDatabaseBackendImpl::create(name, backingStore.get(), m_transactionCoordinator.get(), this, uniqueIdentifier);
if (databaseBackend) {
- callbacks->onSuccess(RefPtr<IDBDatabaseBackendInterface>(databaseBackend.get()).release());
m_databaseBackendMap.set(uniqueIdentifier, databaseBackend.get());
+ databaseBackend->openConnection(callbacks);
} else
callbacks->onError(IDBDatabaseError::create(IDBDatabaseException::UNKNOWN_ERR, "Internal error."));
}
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp ('k') | Source/WebCore/inspector/InspectorIndexedDBAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698