Index: chrome/browser/policy/profile_policy_connector_stub.cc |
diff --git a/chrome/browser/policy/profile_policy_connector_stub.cc b/chrome/browser/policy/profile_policy_connector_stub.cc |
index 08acaab8458343d68945456314df6057208a0fcf..39a1b36764dbf381b7c74d9add99b5c8eaffecd2 100644 |
--- a/chrome/browser/policy/profile_policy_connector_stub.cc |
+++ b/chrome/browser/policy/profile_policy_connector_stub.cc |
@@ -2,8 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/policy/profile_policy_connector.h" |
+#include <utility> |
+#include "chrome/browser/policy/profile_policy_connector.h" |
#include "components/policy/core/common/policy_service_stub.h" |
namespace policy { |
@@ -19,7 +20,7 @@ void ProfilePolicyConnector::Init( |
} |
void ProfilePolicyConnector::InitForTesting(scoped_ptr<PolicyService> service) { |
- policy_service_ = service.Pass(); |
+ policy_service_ = std::move(service); |
} |
void ProfilePolicyConnector::Shutdown() {} |