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

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

Issue 2941353002: Indexed DB: Use BindOnce / OnceCallback / OnceClosure where applicable (Closed)
Patch Set: Created 3 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: content/browser/indexed_db/indexed_db_backing_store_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index f6126705cc1c4272420f9f008e1d46514e082843..2c0aaec04b51ff0aabfd2465af3fd073056d9990 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -143,10 +143,8 @@ class TestableIndexedDBBackingStore : public IndexedDBBackingStore {
writes_.push_back(descriptor);
task_runner()->PostTask(
FROM_HERE,
- base::Bind(&Transaction::ChainedBlobWriter::ReportWriteCompletion,
- chained_blob_writer,
- true,
- 1));
+ base::BindOnce(&Transaction::ChainedBlobWriter::ReportWriteCompletion,
+ chained_blob_writer, true, 1));
return true;
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.cc ('k') | content/browser/indexed_db/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698