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

Unified Diff: content/browser/android/content_video_view.cc

Issue 59673007: Android: moves content/ to use long for JNI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
Index: content/browser/android/content_video_view.cc
diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc
index b8d5c64d5422dbc0bb7f58aa3e96783d0d4a0727..116e7b4d5981785cdfb1d39937ea652643bad0dd 100644
--- a/content/browser/android/content_video_view.cc
+++ b/content/browser/android/content_video_view.cc
@@ -48,7 +48,7 @@ ContentVideoView::ContentVideoView(
JNIEnv *env = AttachCurrentThread();
j_content_video_view_ = JavaObjectWeakGlobalRef(env,
Java_ContentVideoView_createContentVideoView(env, context.obj(),
- reinterpret_cast<int>(this), client.obj()).obj());
+ reinterpret_cast<intptr_t>(this), client.obj()).obj());
g_content_video_view = this;
}

Powered by Google App Engine
This is Rietveld 408576698