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

Unified Diff: chrome/browser/component_updater/ev_whitelist_component_installer.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/ev_whitelist_component_installer.cc
diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.cc b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
index 35db3e0dc0686fbf4d18194fd5d62e5bff730166..77e6e9d63bedff22d8a4dc15c2e56f7d88f16573 100644
--- a/chrome/browser/component_updater/ev_whitelist_component_installer.cc
+++ b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/component_updater/ev_whitelist_component_installer.h"
#include <string>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -135,7 +136,7 @@ void RegisterEVWhitelistComponent(ComponentUpdateService* cus,
new EVWhitelistComponentInstallerTraits());
// |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());
content::BrowserThread::PostAfterStartupTask(

Powered by Google App Engine
This is Rietveld 408576698