| Index: chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
|
| diff --git a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
|
| index 91ecc54473fccd8100a24aba7c19db633e19c938..a456507c9f8624b80af28a74ee6051d26373d8ce 100644
|
| --- a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
|
| +++ b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
|
| @@ -32,7 +32,7 @@ void SandboxedZipAnalyzer::Start() {
|
| .WithPriority(base::TaskPriority::BACKGROUND)
|
| .WithShutdownBehavior(
|
| base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN),
|
| - base::Bind(&SandboxedZipAnalyzer::PrepareFileToAnalyze, this));
|
| + base::BindOnce(&SandboxedZipAnalyzer::PrepareFileToAnalyze, this));
|
| }
|
|
|
| SandboxedZipAnalyzer::~SandboxedZipAnalyzer() = default;
|
| @@ -63,15 +63,15 @@ void SandboxedZipAnalyzer::PrepareFileToAnalyze() {
|
|
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::UI, FROM_HERE,
|
| - base::Bind(&SandboxedZipAnalyzer::AnalyzeFile, this, base::Passed(&file),
|
| - base::Passed(&temp_file)));
|
| + base::BindOnce(&SandboxedZipAnalyzer::AnalyzeFile, this,
|
| + base::Passed(&file), base::Passed(&temp_file)));
|
| }
|
|
|
| void SandboxedZipAnalyzer::ReportFileFailure() {
|
| DCHECK(!utility_process_mojo_client_);
|
|
|
| content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
|
| - base::Bind(callback_, Results()));
|
| + base::BindOnce(callback_, Results()));
|
| }
|
|
|
| void SandboxedZipAnalyzer::AnalyzeFile(base::File file, base::File temp_file) {
|
|
|