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

Unified Diff: chrome/android/testshell/testshell_tab.cc

Issue 67573003: Android: moves chrome/ 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: chrome/android/testshell/testshell_tab.cc
diff --git a/chrome/android/testshell/testshell_tab.cc b/chrome/android/testshell/testshell_tab.cc
index 6e94ea524fc7aa209c48c4a65e029cc31fe87980..168875d1456184e2b80cc2ae0e9185bc388ee97d 100644
--- a/chrome/android/testshell/testshell_tab.cc
+++ b/chrome/android/testshell/testshell_tab.cc
@@ -95,6 +95,6 @@ ScopedJavaLocalRef<jstring> TestShellTab::FixupUrl(JNIEnv* env,
return ConvertUTF8ToJavaString(env, fixed_spec);
}
-static jint Init(JNIEnv* env, jobject obj) {
- return reinterpret_cast<jint>(new TestShellTab(env, obj));
+static jlong Init(JNIEnv* env, jobject obj) {
+ return reinterpret_cast<intptr_t>(new TestShellTab(env, obj));
}

Powered by Google App Engine
This is Rietveld 408576698