summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/configuration_policy_handler_list_factory.cc')
-rw-r--r--chrome/browser/policy/configuration_policy_handler_list_factory.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 6e5e394..0551859 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)));