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( |