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

Unified Diff: content/browser/indexed_db/indexed_db_class_factory.cc

Issue 2160163002: [IndexedDB] Propogating Changes to Observer : Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser changes Created 4 years, 5 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: content/browser/indexed_db/indexed_db_class_factory.cc
diff --git a/content/browser/indexed_db/indexed_db_class_factory.cc b/content/browser/indexed_db/indexed_db_class_factory.cc
index 71c30fd078f742f36a932c5b9d316ac6ee61d4bf..3189b2d7f121bd684ce6be70135ba0059784f806 100644
--- a/content/browser/indexed_db/indexed_db_class_factory.cc
+++ b/content/browser/indexed_db/indexed_db_class_factory.cc
@@ -37,12 +37,11 @@ IndexedDBDatabase* IndexedDBClassFactory::CreateIndexedDBDatabase(
IndexedDBTransaction* IndexedDBClassFactory::CreateIndexedDBTransaction(
int64_t id,
- scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
+ base::WeakPtr<IndexedDBConnection> connection,
const std::set<int64_t>& scope,
blink::WebIDBTransactionMode mode,
- IndexedDBDatabase* db,
IndexedDBBackingStore::Transaction* backing_store_transaction) {
- return new IndexedDBTransaction(id, callbacks, scope, mode, db,
+ return new IndexedDBTransaction(id, std::move(connection), scope, mode,
backing_store_transaction);
}

Powered by Google App Engine
This is Rietveld 408576698