Index: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
diff --git a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
index 9f181bf0e36084b7dd900eee03eb168bdb947578..f857a998462f1bbd3915569d5ae8f834651036e5 100644 |
--- a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
+++ b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <map> |
#include <string> |
+#include <utility> |
#include "base/callback.h" |
#include "base/files/scoped_temp_dir.h" |
@@ -153,7 +154,7 @@ class ComponentCloudPolicyServiceTest : public testing::Test { |
void Connect() { |
client_ = new MockCloudPolicyClient(); |
service_.reset(new ComponentCloudPolicyService( |
- &delegate_, ®istry_, &core_, client_, owned_cache_.Pass(), |
+ &delegate_, ®istry_, &core_, client_, std::move(owned_cache_), |
request_context_, loop_.task_runner(), loop_.task_runner())); |
client_->SetDMToken(ComponentPolicyBuilder::kFakeToken); |