Index: components/policy/core/common/schema_registry_tracking_policy_provider.cc |
diff --git a/components/policy/core/common/schema_registry_tracking_policy_provider.cc b/components/policy/core/common/schema_registry_tracking_policy_provider.cc |
index 4f8e7194bb852d0b30793927355458ba51ee9e12..95ffaf1574c1d1d632b39408e15e080f77047662 100644 |
--- a/components/policy/core/common/schema_registry_tracking_policy_provider.cc |
+++ b/components/policy/core/common/schema_registry_tracking_policy_provider.cc |
@@ -4,6 +4,8 @@ |
#include "components/policy/core/common/schema_registry_tracking_policy_provider.h" |
+#include <utility> |
+ |
#include "components/policy/core/common/schema_map.h" |
#include "components/policy/core/common/schema_registry.h" |
@@ -91,7 +93,7 @@ void SchemaRegistryTrackingPolicyProvider::OnUpdatePolicy( |
bundle->Get(chrome_ns).CopyFrom(delegate_->policies().Get(chrome_ns)); |
} |
- UpdatePolicy(bundle.Pass()); |
+ UpdatePolicy(std::move(bundle)); |
} |
} // namespace policy |