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

Unified Diff: components/policy/core/common/proxy_policy_provider_unittest.cc

Issue 1552023002: Convert Pass()→std::move() in //components (CrOS edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/policy/core/common/proxy_policy_provider.cc ('k') | components/rlz/rlz_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/proxy_policy_provider_unittest.cc
diff --git a/components/policy/core/common/proxy_policy_provider_unittest.cc b/components/policy/core/common/proxy_policy_provider_unittest.cc
index 196f3fc4d1dfeb8b004107966a8531b2044d2b42..142e353632a3a7485d0704efad7a26f553314b56 100644
--- a/components/policy/core/common/proxy_policy_provider_unittest.cc
+++ b/components/policy/core/common/proxy_policy_provider_unittest.cc
@@ -38,7 +38,7 @@ class ProxyPolicyProviderTest : public testing::Test {
static scoped_ptr<PolicyBundle> CopyBundle(const PolicyBundle& bundle) {
scoped_ptr<PolicyBundle> copy(new PolicyBundle());
copy->CopyFrom(bundle);
- return copy.Pass();
+ return copy;
}
private:
« no previous file with comments | « components/policy/core/common/proxy_policy_provider.cc ('k') | components/rlz/rlz_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698