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

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.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/browser/component_updater/sw_reporter_installer_win.cc
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc
index d0c694e70efe8cddacf058dfb91e06b9c9b4d8a3..025eacf7cfd4e9f079e87bef03513e8053b21da6 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc
@@ -8,6 +8,7 @@
#include <map>
#include <string>
+#include <utility>
#include <vector>
#include "base/base_paths.h"
@@ -238,7 +239,7 @@ void RegisterSwReporterComponent(ComponentUpdateService* cus) {
scoped_ptr<ComponentInstallerTraits> traits(new SwReporterInstallerTraits());
// |cus| will take ownership of |installer| during installer->Register(cus).
DefaultComponentInstaller* installer =
- new DefaultComponentInstaller(traits.Pass());
+ new DefaultComponentInstaller(std::move(traits));
installer->Register(cus, base::Closure());
}

Powered by Google App Engine
This is Rietveld 408576698