| Index: chrome/browser/extensions/webstore_installer.cc
|
| diff --git a/chrome/browser/extensions/webstore_installer.cc b/chrome/browser/extensions/webstore_installer.cc
|
| index 3735ec6ab84cb98c6a82fd46cb00b974510361fe..75320e06cb3a55b4c006e7f3b6a6cb63c1df4dd0 100644
|
| --- a/chrome/browser/extensions/webstore_installer.cc
|
| +++ b/chrome/browser/extensions/webstore_installer.cc
|
| @@ -118,7 +118,7 @@ void GetDownloadFilePath(
|
| if (!base::DirectoryExists(download_directory)) {
|
| if (!base::CreateDirectory(download_directory)) {
|
| BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
|
| - base::Bind(callback, base::FilePath()));
|
| + base::BindOnce(callback, base::FilePath()));
|
| return;
|
| }
|
| }
|
| @@ -141,7 +141,7 @@ void GetDownloadFilePath(
|
| }
|
|
|
| BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
|
| - base::Bind(callback, file));
|
| + base::BindOnce(callback, file));
|
| }
|
|
|
| void MaybeAppendAuthUserParameter(const std::string& authuser, GURL* url) {
|
| @@ -602,8 +602,9 @@ void WebstoreInstaller::DownloadCrx(
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::FILE, FROM_HERE,
|
| - base::Bind(&GetDownloadFilePath, download_directory, extension_id,
|
| - base::Bind(&WebstoreInstaller::StartDownload, this, extension_id)));
|
| + base::BindOnce(
|
| + &GetDownloadFilePath, download_directory, extension_id,
|
| + base::Bind(&WebstoreInstaller::StartDownload, this, extension_id)));
|
| }
|
|
|
| // http://crbug.com/165634
|
|
|