Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1883)

Unified Diff: mojo/services/native_viewport/native_viewport_android.cc

Issue 220813002: Fix for Android x64. Address passed using jint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698