Index: chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc |
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc |
index 300fdc895c6574a50d543e99087d6665bd14ef3e..c2079d214978ab46c6c4951565501477476961ea 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc |
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc |
@@ -597,11 +597,9 @@ class DriveBackendSyncTest : public testing::Test, |
base::RunLoop run_loop; |
worker_task_runner_->PostTask( |
FROM_HERE, |
- base::Bind(&SyncWorker::CallOnIdleForTesting, |
- base::Unretained(sync_worker()), |
- RelayCallbackToCurrentThread( |
- FROM_HERE, |
- run_loop.QuitClosure()))); |
+ base::BindOnce( |
+ &SyncWorker::CallOnIdleForTesting, base::Unretained(sync_worker()), |
+ RelayCallbackToCurrentThread(FROM_HERE, run_loop.QuitClosure()))); |
run_loop.Run(); |
} |