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

Unified Diff: chrome/installer/util/google_chrome_distribution_dummy.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/installer/util/google_chrome_distribution_dummy.cc
diff --git a/chrome/installer/util/google_chrome_distribution_dummy.cc b/chrome/installer/util/google_chrome_distribution_dummy.cc
index 3a444a81dd66e1bc2b75d1c8240483cf721473b6..cb62e5141dfaa78ccf9fd19f1cb0dbc24dd5aba8 100644
--- a/chrome/installer/util/google_chrome_distribution_dummy.cc
+++ b/chrome/installer/util/google_chrome_distribution_dummy.cc
@@ -12,6 +12,8 @@
#include <windows.h>
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/values.h"
@@ -27,8 +29,7 @@ GoogleChromeDistribution::GoogleChromeDistribution()
GoogleChromeDistribution::GoogleChromeDistribution(
scoped_ptr<AppRegistrationData> app_reg_data)
- : BrowserDistribution(CHROME_BROWSER, app_reg_data.Pass()) {
-}
+ : BrowserDistribution(CHROME_BROWSER, std::move(app_reg_data)) {}
void GoogleChromeDistribution::DoPostUninstallOperations(
const Version& version,
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698