| Index: content/browser/android/web_contents_observer_android.cc
|
| diff --git a/content/browser/android/web_contents_observer_android.cc b/content/browser/android/web_contents_observer_android.cc
|
| index 194cf47b7398440577e7f1013e3eb6a5c6a8c20e..c8ebdedb1ebee336c01b84ccc09102a2a789525e 100644
|
| --- a/content/browser/android/web_contents_observer_android.cc
|
| +++ b/content/browser/android/web_contents_observer_android.cc
|
| @@ -36,12 +36,12 @@ WebContentsObserverAndroid::WebContentsObserverAndroid(
|
| WebContentsObserverAndroid::~WebContentsObserverAndroid() {
|
| }
|
|
|
| -jint Init(JNIEnv* env, jobject obj, jint native_content_view_core) {
|
| +jlong Init(JNIEnv* env, jobject obj, jlong native_content_view_core) {
|
| ContentViewCore* content_view_core =
|
| reinterpret_cast<ContentViewCore*>(native_content_view_core);
|
| WebContentsObserverAndroid* native_observer = new WebContentsObserverAndroid(
|
| env, obj, content_view_core->GetWebContents());
|
| - return reinterpret_cast<jint>(native_observer);
|
| + return reinterpret_cast<intptr_t>(native_observer);
|
| }
|
|
|
| void WebContentsObserverAndroid::Destroy(JNIEnv* env, jobject obj) {
|
|
|