Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
diff --git a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
index 81da207c186e53eeeb260694a67f5306fe2cec83..8b1f9bbd4f2d36a79d3fac2d977527c16ed56135 100644
--- a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
+++ b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h"
+#include <utility>
+
#include "base/bind.h"
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/safe_browsing/zip_analyzer_results.h"
@@ -92,7 +94,7 @@ void SandboxedDMGAnalyzer::OnUtilityProcessStarted() {
utility_process_host_->Send(
new ChromeUtilityMsg_AnalyzeDmgFileForDownloadProtection(
- IPC::TakeFileHandleForProcess(file_.Pass(), utility_process)));
+ IPC::TakeFileHandleForProcess(std::move(file_), utility_process)));
}
void SandboxedDMGAnalyzer::OnAnalysisFinished(

Powered by Google App Engine
This is Rietveld 408576698