Index: chrome/browser/sync_file_system/local/sync_file_system_backend.cc |
diff --git a/chrome/browser/sync_file_system/local/sync_file_system_backend.cc b/chrome/browser/sync_file_system/local/sync_file_system_backend.cc |
index 3499e35153af16559f5fe625dadd45fb929c4f2a..a66562eb2f2dd681681e36db78f8cc9a46965afc 100644 |
--- a/chrome/browser/sync_file_system/local/sync_file_system_backend.cc |
+++ b/chrome/browser/sync_file_system/local/sync_file_system_backend.cc |
@@ -272,8 +272,8 @@ void SyncFileSystemBackend::InitializeSyncFileSystemService( |
// It is safe to pass Unretained(this) (see comments in OpenFileSystem()). |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
- base::Bind(&SyncFileSystemBackend::InitializeSyncFileSystemService, |
- base::Unretained(this), origin_url, callback)); |
+ base::BindOnce(&SyncFileSystemBackend::InitializeSyncFileSystemService, |
+ base::Unretained(this), origin_url, callback)); |
return; |
} |
@@ -302,9 +302,10 @@ void SyncFileSystemBackend::DidInitializeSyncFileSystemService( |
// It is safe to pass Unretained(this) since |context| owns it. |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
- base::Bind(&SyncFileSystemBackend::DidInitializeSyncFileSystemService, |
- base::Unretained(this), base::RetainedRef(context), |
- origin_url, type, mode, callback, status)); |
+ base::BindOnce( |
+ &SyncFileSystemBackend::DidInitializeSyncFileSystemService, |
+ base::Unretained(this), base::RetainedRef(context), origin_url, |
+ type, mode, callback, status)); |
return; |
} |