Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc |
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
index 6e5e39477725ae37f5ff65c95bb01a35239e343c..055185904e3eff79ac4e8ca0a090c76a57932fd4 100644 |
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc |
@@ -6,6 +6,7 @@ |
#include <limits.h> |
#include <stddef.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/macros.h" |
@@ -802,12 +803,12 @@ scoped_ptr<ConfigurationPolicyHandlerList> BuildHandlerList( |
// http://crbug.com/346229 |
handlers->AddHandler( |
make_scoped_ptr(new LegacyPoliciesDeprecatingPolicyHandler( |
- power_management_idle_legacy_policies.Pass(), |
+ std::move(power_management_idle_legacy_policies), |
make_scoped_ptr( |
new PowerManagementIdleSettingsPolicyHandler(chrome_schema))))); |
handlers->AddHandler( |
make_scoped_ptr(new LegacyPoliciesDeprecatingPolicyHandler( |
- screen_lock_legacy_policies.Pass(), |
+ std::move(screen_lock_legacy_policies), |
make_scoped_ptr(new ScreenLockDelayPolicyHandler(chrome_schema))))); |
handlers->AddHandler( |
make_scoped_ptr(new ExternalDataPolicyHandler(key::kUserAvatarImage))); |