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

Unified Diff: chrome/browser/profiles/profile_android.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: chrome/browser/profiles/profile_android.cc
diff --git a/chrome/browser/profiles/profile_android.cc b/chrome/browser/profiles/profile_android.cc
index 2a498444b85995cd559c7c2be5b64b64cbaec447..f141400c6f40434802a3c47061907add5febc451 100644
--- a/chrome/browser/profiles/profile_android.cc
+++ b/chrome/browser/profiles/profile_android.cc
@@ -119,7 +119,7 @@ ProfileAndroid::ProfileAndroid(Profile* profile)
}
ProfileAndroid::~ProfileAndroid() {
- Java_Profile_onNativeDestroyed(AttachCurrentThread(), obj_.obj());
+ Java_Profile_onNativeDestroyed(AttachCurrentThread(), obj_);
}
base::android::ScopedJavaLocalRef<jobject> ProfileAndroid::GetJavaObject() {
« no previous file with comments | « chrome/browser/platform_util_android.cc ('k') | chrome/browser/search_engines/template_url_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698