summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/android/navigation_popup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/android/navigation_popup.cc')
-rw-r--r--chrome/browser/ui/android/navigation_popup.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/android/navigation_popup.cc b/chrome/browser/ui/android/navigation_popup.cc
index fca009d..dd9dffd 100644
--- a/chrome/browser/ui/android/navigation_popup.cc
+++ b/chrome/browser/ui/android/navigation_popup.cc
@@ -86,9 +86,9 @@ static jstring GetHistoryUrl(JNIEnv* env, jclass clazz) {
return ConvertUTF8ToJavaString(env, chrome::kChromeUIHistoryURL).Release();
}
-static jint Init(JNIEnv* env, jobject obj) {
+static jlong Init(JNIEnv* env, jobject obj) {
NavigationPopup* popup = new NavigationPopup(env, obj);
- return reinterpret_cast<jint>(popup);
+ return reinterpret_cast<intptr_t>(popup);
}
// static