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

Unified Diff: chrome/browser/android/password_ui_view_android.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/browser/android/password_ui_view_android.cc
diff --git a/chrome/browser/android/password_ui_view_android.cc b/chrome/browser/android/password_ui_view_android.cc
index 966e7f5cd853e820ee82a2e3bd86deea20ee875d..c5db384051095861f8e4820b8a260a6c4235e189 100644
--- a/chrome/browser/android/password_ui_view_android.cc
+++ b/chrome/browser/android/password_ui_view_android.cc
@@ -86,9 +86,9 @@ void PasswordUIViewAndroid::HandleRemoveSavedPasswordException(
}
// static
-static jint Init(JNIEnv* env, jobject obj) {
+static jlong Init(JNIEnv* env, jobject obj) {
PasswordUIViewAndroid* controller = new PasswordUIViewAndroid(env, obj);
- return reinterpret_cast<jint>(controller);
+ return reinterpret_cast<intptr_t>(controller);
}
bool PasswordUIViewAndroid::RegisterPasswordUIViewAndroid(JNIEnv* env) {
« no previous file with comments | « chrome/browser/android/omnibox/omnibox_prerender.cc ('k') | chrome/browser/android/provider/chrome_browser_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698