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

Unified Diff: content/browser/android/background_sync_network_observer_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: content/browser/android/background_sync_network_observer_android.cc
diff --git a/content/browser/android/background_sync_network_observer_android.cc b/content/browser/android/background_sync_network_observer_android.cc
index e87d1fdf7c5ceb70afa31e8069c3b5496d43b0ec..2d9aa7dd5a2e6dd3342e6fdea6f27d0ded84a64a 100644
--- a/content/browser/android/background_sync_network_observer_android.cc
+++ b/content/browser/android/background_sync_network_observer_android.cc
@@ -46,7 +46,7 @@ void BackgroundSyncNetworkObserverAndroid::Observer::Init() {
BackgroundSyncNetworkObserverAndroid::Observer::~Observer() {
JNIEnv* env = base::android::AttachCurrentThread();
Java_BackgroundSyncNetworkObserver_removeObserver(
- env, j_observer_.obj(), reinterpret_cast<jlong>(this));
+ env, j_observer_, reinterpret_cast<jlong>(this));
DCHECK_CURRENTLY_ON(BrowserThread::UI);
j_observer_.Release();
}

Powered by Google App Engine
This is Rietveld 408576698