Index: mojo/services/native_viewport/native_viewport_android.cc |
diff --git a/mojo/services/native_viewport/native_viewport_android.cc b/mojo/services/native_viewport/native_viewport_android.cc |
index 55b88c9f514ed53390c639a6cef94a59b22e9d6c..791c27fdbe60d8cb84e68d5e8c40f04257f4e787 100644 |
--- a/mojo/services/native_viewport/native_viewport_android.cc |
+++ b/mojo/services/native_viewport/native_viewport_android.cc |
@@ -98,7 +98,7 @@ bool NativeViewportAndroid::TouchEvent(JNIEnv* env, jobject obj, |
void NativeViewportAndroid::Init(const gfx::Rect& bounds) { |
JNIEnv* env = base::android::AttachCurrentThread(); |
Java_NativeViewportAndroid_createForActivity(env, context_->activity(), |
- reinterpret_cast<jint>(this)); |
+ reinterpret_cast<jlong>(this)); |
} |
void NativeViewportAndroid::Show() { |