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

Unified Diff: components/policy/core/browser/android/android_combined_policy_provider.cc

Issue 1550383002: Convert Pass()→std::move() in //components (Android 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
Index: components/policy/core/browser/android/android_combined_policy_provider.cc
diff --git a/components/policy/core/browser/android/android_combined_policy_provider.cc b/components/policy/core/browser/android/android_combined_policy_provider.cc
index 16732045cc0ab9116a8e491bd9c141007600b59e..8ace29bdb12e743459c18cf9e434041348d3e062 100644
--- a/components/policy/core/browser/android/android_combined_policy_provider.cc
+++ b/components/policy/core/browser/android/android_combined_policy_provider.cc
@@ -46,7 +46,7 @@ void AndroidCombinedPolicyProvider::FlushPolicies(
JNIEnv* env,
const JavaParamRef<jobject>& obj) {
initialized_ = true;
- UpdatePolicy(policy_converter_->GetPolicyBundle().Pass());
+ UpdatePolicy(policy_converter_->GetPolicyBundle());
}
// static

Powered by Google App Engine
This is Rietveld 408576698