diff options
Diffstat (limited to 'chrome/browser/android/foreign_session_helper.cc')
-rw-r--r-- | chrome/browser/android/foreign_session_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/android/foreign_session_helper.cc b/chrome/browser/android/foreign_session_helper.cc index 58a4675..4fccf57 100644 --- a/chrome/browser/android/foreign_session_helper.cc +++ b/chrome/browser/android/foreign_session_helper.cc @@ -137,10 +137,10 @@ void CopyWindowsToJava( } // namespace -static jint Init(JNIEnv* env, jclass clazz, jobject profile) { +static jlong Init(JNIEnv* env, jclass clazz, jobject profile) { ForeignSessionHelper* foreign_session_helper = new ForeignSessionHelper( ProfileAndroid::FromProfileAndroid(profile)); - return reinterpret_cast<jint>(foreign_session_helper); + return reinterpret_cast<intptr_t>(foreign_session_helper); } ForeignSessionHelper::ForeignSessionHelper(Profile* profile) |