| 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());
|
| }
|
|
|
|
|