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

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

Issue 417573004: indexeddb: Removed use of dangling ptr in writeBlobToFileOnIOThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped pointer to TaskRunner Created 6 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_active_blob_registry_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
index a14439f83354e8a79bab8c47b22af80c2ac94e11..a0e12dc6d0f91a8cb10559e1ff8caeecd8c52410 100644
--- a/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc
@@ -55,7 +55,8 @@ class MockIDBFactory : public IndexedDBFactoryImpl {
class MockIDBBackingStore : public IndexedDBFakeBackingStore {
public:
- MockIDBBackingStore(IndexedDBFactory* factory, base::TaskRunner* task_runner)
+ MockIDBBackingStore(IndexedDBFactory* factory,
+ base::SequencedTaskRunner* task_runner)
: IndexedDBFakeBackingStore(factory, task_runner),
duplicate_calls_(false) {}

Powered by Google App Engine
This is Rietveld 408576698