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

Unified Diff: content/browser/android/child_process_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: content/browser/android/child_process_launcher_android.cc
diff --git a/content/browser/android/child_process_launcher_android.cc b/content/browser/android/child_process_launcher_android.cc
index 43bd5c8526df0e15be080e0574e549dc0d50c74e..d3e8ee589ef18186b95e8061c41e73e07cb11a59 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -102,7 +102,7 @@ void LaunchDownloadProcess(base::CommandLine* cmd_line) {
// TODO(qinmin): pass download parameters here.
Java_ChildProcessLauncher_startDownloadProcessIfNecessary(
- env, base::android::GetApplicationContext(), j_argv.obj());
+ env, base::android::GetApplicationContext(), j_argv);
}
} // anonymous namespace
@@ -194,8 +194,8 @@ void StartChildProcess(
}
Java_ChildProcessLauncher_start(
- env, base::android::GetApplicationContext(), j_argv.obj(),
- child_process_id, j_file_infos.obj(),
+ env, base::android::GetApplicationContext(), j_argv, child_process_id,
+ j_file_infos,
reinterpret_cast<intptr_t>(new StartChildProcessCallback(callback)));
}
@@ -261,10 +261,7 @@ void CreateSurfaceTextureSurface(int surface_texture_id,
JNIEnv* env = AttachCurrentThread();
DCHECK(env);
Java_ChildProcessLauncher_createSurfaceTextureSurface(
- env,
- surface_texture_id,
- client_id,
- surface_texture->j_surface_texture().obj());
+ env, surface_texture_id, client_id, surface_texture->j_surface_texture());
}
void DestroySurfaceTextureSurface(int surface_texture_id, int client_id) {
« no previous file with comments | « content/browser/android/background_sync_network_observer_android.cc ('k') | content/browser/android/content_video_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698