Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Unified Diff: components/policy/core/common/cloud/policy_header_service.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/policy_header_service.cc
diff --git a/components/policy/core/common/cloud/policy_header_service.cc b/components/policy/core/common/cloud/policy_header_service.cc
index 62519c75bb95596eed6deb6c0d5bd10dd885b96b..607843dbb6ff7cd8d3cb29c7b98a1c61b73f003f 100644
--- a/components/policy/core/common/cloud/policy_header_service.cc
+++ b/components/policy/core/common/cloud/policy_header_service.cc
@@ -45,7 +45,7 @@ PolicyHeaderService::CreatePolicyHeaderIOHelper(
scoped_ptr<PolicyHeaderIOHelper> helper = make_scoped_ptr(
new PolicyHeaderIOHelper(server_url_, initial_header_value, task_runner));
helpers_.push_back(helper.get());
- return helper.Pass();
+ return helper;
}
std::string PolicyHeaderService::CreateHeaderValue() {

Powered by Google App Engine
This is Rietveld 408576698