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

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

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 months 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/policy_converter.cc
diff --git a/components/policy/core/browser/android/policy_converter.cc b/components/policy/core/browser/android/policy_converter.cc
index 5a410947861707cce15370d56a4d503e4cbf8d81..972467e1f959b7d07816fc31c3cc020c88824fa2 100644
--- a/components/policy/core/browser/android/policy_converter.cc
+++ b/components/policy/core/browser/android/policy_converter.cc
@@ -39,7 +39,7 @@ PolicyConverter::PolicyConverter(const Schema* policy_schema)
PolicyConverter::~PolicyConverter() {
Java_PolicyConverter_onNativeDestroyed(base::android::AttachCurrentThread(),
- java_obj_.obj());
+ java_obj_);
}
std::unique_ptr<PolicyBundle> PolicyConverter::GetPolicyBundle() {

Powered by Google App Engine
This is Rietveld 408576698