Index: components/policy/core/common/cloud/cloud_policy_validator.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_validator.cc b/components/policy/core/common/cloud/cloud_policy_validator.cc |
index 22e16cff132675b5a7bdae89ad2566e77d81ee5e..be2bd6f757d4868c5cc1c0b5ce38f15effbdc899 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_validator.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_validator.cc |
@@ -5,6 +5,7 @@ |
#include "components/policy/core/common/cloud/cloud_policy_validator.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/bind_helpers.h" |
#include "base/location.h" |
@@ -171,7 +172,7 @@ CloudPolicyValidatorBase::CloudPolicyValidatorBase( |
google::protobuf::MessageLite* payload, |
scoped_refptr<base::SequencedTaskRunner> background_task_runner) |
: status_(VALIDATION_OK), |
- policy_(policy_response.Pass()), |
+ policy_(std::move(policy_response)), |
payload_(payload), |
validation_flags_(0), |
timestamp_not_before_(0), |