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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java

Issue 67573003: Android: moves chrome/ 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: chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java b/chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java
index a241dca0f801711a2691139e144997af7673033b..7aa44af1abfb1bae3803e39ce4cd03aeb8235792 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ContentViewUtil.java
@@ -17,17 +17,17 @@ public abstract class ContentViewUtil {
* @return pointer to native WebContents instance, suitable for using with a
* (java) ContentViewCore instance.
*/
- public static int createNativeWebContents(boolean incognito) {
+ public static long createNativeWebContents(boolean incognito) {
return nativeCreateNativeWebContents(incognito);
}
/**
* @param webContentsPtr The WebContents reference to be deleted.
*/
- public static void destroyNativeWebContents(int webContentsPtr) {
+ public static void destroyNativeWebContents(long webContentsPtr) {
nativeDestroyNativeWebContents(webContentsPtr);
}
- private static native int nativeCreateNativeWebContents(boolean incognito);
- private static native void nativeDestroyNativeWebContents(int webContentsPtr);
+ private static native long nativeCreateNativeWebContents(boolean incognito);
+ private static native void nativeDestroyNativeWebContents(long webContentsPtr);
}

Powered by Google App Engine
This is Rietveld 408576698