| Index: chrome/browser/android/new_tab_page_prefs.cc
|
| diff --git a/chrome/browser/android/new_tab_page_prefs.cc b/chrome/browser/android/new_tab_page_prefs.cc
|
| index be2896117980a20d54c703747f447b8088282458..94a4e75f0381b380dac8f39b23daa2ebe374ab02 100644
|
| --- a/chrome/browser/android/new_tab_page_prefs.cc
|
| +++ b/chrome/browser/android/new_tab_page_prefs.cc
|
| @@ -16,10 +16,10 @@
|
|
|
| using base::android::ConvertJavaStringToUTF8;
|
|
|
| -static jint Init(JNIEnv* env, jclass clazz, jobject profile) {
|
| +static jlong Init(JNIEnv* env, jclass clazz, jobject profile) {
|
| NewTabPagePrefs* new_tab_page_prefs =
|
| new NewTabPagePrefs(ProfileAndroid::FromProfileAndroid(profile));
|
| - return reinterpret_cast<jint>(new_tab_page_prefs);
|
| + return reinterpret_cast<intptr_t>(new_tab_page_prefs);
|
| }
|
|
|
| NewTabPagePrefs::NewTabPagePrefs(Profile* profile)
|
|
|