Index: content/browser/android/interstitial_page_delegate_android.cc |
diff --git a/content/browser/android/interstitial_page_delegate_android.cc b/content/browser/android/interstitial_page_delegate_android.cc |
index 4ed48907bed7ba469a5ac4e6f7170d3368a2ac32..f598cd36a5c6dfee342ddbad2632f2394343366f 100644 |
--- a/content/browser/android/interstitial_page_delegate_android.cc |
+++ b/content/browser/android/interstitial_page_delegate_android.cc |
@@ -84,11 +84,11 @@ bool InterstitialPageDelegateAndroid |
return RegisterNativesImpl(env); |
} |
-static jint Init(JNIEnv* env, jobject obj, jstring html_content) { |
+static jlong Init(JNIEnv* env, jobject obj, jstring html_content) { |
InterstitialPageDelegateAndroid* delegate = |
new InterstitialPageDelegateAndroid( |
env, obj, base::android::ConvertJavaStringToUTF8(env, html_content)); |
- return reinterpret_cast<jint>(delegate); |
+ return reinterpret_cast<intptr_t>(delegate); |
} |
} // namespace content |