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

Unified Diff: content/browser/android/child_process_launcher_android.cc

Issue 59673007: Android: moves content/ to use long for JNI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 cbc80c04f9fc892fd954e3cdf6a9b16d232e2748..cf915e4a42a837de1f7a824c63964e205cbbbe4f 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -70,7 +70,7 @@ static void SetSurfacePeer(
// the ChildProcess could not be created.
static void OnChildProcessStarted(JNIEnv*,
jclass,
- jint client_context,
+ jlong client_context,
jint handle) {
StartChildProcessCallback* callback =
reinterpret_cast<StartChildProcessCallback*>(client_context);
@@ -122,7 +122,7 @@ void StartChildProcess(
j_file_ids.obj(),
j_file_fds.obj(),
j_file_auto_close.obj(),
- reinterpret_cast<jint>(new StartChildProcessCallback(callback)));
+ reinterpret_cast<intptr_t>(new StartChildProcessCallback(callback)));
}
void StopChildProcess(base::ProcessHandle handle) {

Powered by Google App Engine
This is Rietveld 408576698