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

Unified Diff: chrome/browser/component_updater/caps_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
« no previous file with comments | « base/win/scoped_handle_unittest.cc ('k') | chrome/browser/component_updater/sw_reporter_installer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/caps_installer_win.cc
diff --git a/chrome/browser/component_updater/caps_installer_win.cc b/chrome/browser/component_updater/caps_installer_win.cc
index 61d87457a5d8b3b4ba8aa977030949d778f8a3a0..78942ba175832a0b848f5ef1a0bfe8b311a69b89 100644
--- a/chrome/browser/component_updater/caps_installer_win.cc
+++ b/chrome/browser/component_updater/caps_installer_win.cc
@@ -6,6 +6,7 @@
#include <stdint.h>
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
@@ -115,7 +116,7 @@ void RegisterCAPSComponent(ComponentUpdateService* cus) {
scoped_ptr<ComponentInstallerTraits> traits(
new CAPSInstallerTraits());
DefaultComponentInstaller* installer =
- new DefaultComponentInstaller(traits.Pass());
+ new DefaultComponentInstaller(std::move(traits));
installer->Register(cus, base::Closure());
}
« no previous file with comments | « base/win/scoped_handle_unittest.cc ('k') | chrome/browser/component_updater/sw_reporter_installer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698