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

Unified Diff: chrome/browser/android/background_sync_launcher_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/android/background_sync_launcher_android.cc
diff --git a/chrome/browser/android/background_sync_launcher_android.cc b/chrome/browser/android/background_sync_launcher_android.cc
index 7ca787a331a49e1d1076c1c17557854400b09e14..0b13a145d69b3432434bd87b96868142b8e5913f 100644
--- a/chrome/browser/android/background_sync_launcher_android.cc
+++ b/chrome/browser/android/background_sync_launcher_android.cc
@@ -44,7 +44,7 @@ void BackgroundSyncLauncherAndroid::LaunchBrowserIfStoppedImpl(
JNIEnv* env = base::android::AttachCurrentThread();
Java_BackgroundSyncLauncher_launchBrowserIfStopped(
- env, java_launcher_.obj(), base::android::GetApplicationContext(),
+ env, java_launcher_, base::android::GetApplicationContext(),
launch_when_next_online, min_delay_ms);
}
@@ -78,5 +78,5 @@ BackgroundSyncLauncherAndroid::~BackgroundSyncLauncherAndroid() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
JNIEnv* env = base::android::AttachCurrentThread();
- Java_BackgroundSyncLauncher_destroy(env, java_launcher_.obj());
+ Java_BackgroundSyncLauncher_destroy(env, java_launcher_);
}

Powered by Google App Engine
This is Rietveld 408576698