| 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();
|
| }
|
|
|
|
|