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

Unified Diff: chrome/browser/sync/test/integration/autofill_helper.cc

Issue 2830603002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/sync (Closed)
Patch Set: Created 3 years, 8 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: chrome/browser/sync/test/integration/autofill_helper.cc
diff --git a/chrome/browser/sync/test/integration/autofill_helper.cc b/chrome/browser/sync/test/integration/autofill_helper.cc
index 1a7c868a572d29e5cbd6a585ff91c0fe9f20f809..7a33151008be053feba960ed3f1c359a3b684844 100644
--- a/chrome/browser/sync/test/integration/autofill_helper.cc
+++ b/chrome/browser/sync/test/integration/autofill_helper.cc
@@ -70,9 +70,8 @@ void RunOnDBThreadAndSignal(base::Closure task,
void RunOnDBThreadAndBlock(base::Closure task) {
WaitableEvent done_event(base::WaitableEvent::ResetPolicy::AUTOMATIC,
base::WaitableEvent::InitialState::NOT_SIGNALED);
- BrowserThread::PostTask(BrowserThread::DB,
- FROM_HERE,
- Bind(&RunOnDBThreadAndSignal, task, &done_event));
+ BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
+ BindOnce(&RunOnDBThreadAndSignal, task, &done_event));
done_event.Wait();
}

Powered by Google App Engine
This is Rietveld 408576698