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

Unified Diff: content/shell/browser/shell_android.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/shell/browser/shell_android.cc
diff --git a/content/shell/browser/shell_android.cc b/content/shell/browser/shell_android.cc
index d827e96b07e0865131a5930ac173ce889a085da5..5c1b4b580bdc0f86a482d07592826287223283a9 100644
--- a/content/shell/browser/shell_android.cc
+++ b/content/shell/browser/shell_android.cc
@@ -50,7 +50,7 @@ void Shell::PlatformCreateWindow(int width, int height) {
void Shell::PlatformSetContents() {
JNIEnv* env = AttachCurrentThread();
Java_Shell_initFromNativeTabContents(
- env, java_object_.obj(), reinterpret_cast<jint>(web_contents()));
+ env, java_object_.obj(), reinterpret_cast<intptr_t>(web_contents()));
}
void Shell::PlatformResizeSubViews() {

Powered by Google App Engine
This is Rietveld 408576698