Index: components/policy/core/browser/browser_policy_connector_base.cc |
diff --git a/components/policy/core/browser/browser_policy_connector_base.cc b/components/policy/core/browser/browser_policy_connector_base.cc |
index 4b0c6fba01a31afa55f21aecff5036380156c0a6..a36a78a5ae3aae06f78f94df18705b0e8f25c501 100644 |
--- a/components/policy/core/browser/browser_policy_connector_base.cc |
+++ b/components/policy/core/browser/browser_policy_connector_base.cc |
@@ -5,7 +5,7 @@ |
#include "components/policy/core/browser/browser_policy_connector_base.h" |
#include <stddef.h> |
- |
+#include <utility> |
#include <vector> |
#include "base/logging.h" |
@@ -129,7 +129,7 @@ void BrowserPolicyConnectorBase::SetPlatformPolicyProvider( |
scoped_ptr<ConfigurationPolicyProvider> provider) { |
CHECK(!platform_policy_provider_); |
platform_policy_provider_ = provider.get(); |
- AddPolicyProvider(provider.Pass()); |
+ AddPolicyProvider(std::move(provider)); |
} |
} // namespace policy |