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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java

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/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java b/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
index 465b86290e146174fb7fb1bf983ba67caad85686..025428e63397803e4d45480a4a36d0450eb2cf0f 100644
--- a/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
+++ b/content/public/android/java/src/org/chromium/content/browser/WebContentsObserverAndroid.java
@@ -13,7 +13,7 @@ import org.chromium.base.JNINamespace;
*/
@JNINamespace("content")
public abstract class WebContentsObserverAndroid {
- private int mNativeWebContentsObserverAndroid;
+ private long mNativeWebContentsObserverAndroid;
public WebContentsObserverAndroid(ContentViewCore contentViewCore) {
mNativeWebContentsObserverAndroid = nativeInit(contentViewCore.getNativeContentViewCore());
@@ -155,6 +155,6 @@ public abstract class WebContentsObserverAndroid {
}
}
- private native int nativeInit(int contentViewCorePtr);
- private native void nativeDestroy(int nativeWebContentsObserverAndroid);
+ private native long nativeInit(long contentViewCorePtr);
+ private native void nativeDestroy(long nativeWebContentsObserverAndroid);
}

Powered by Google App Engine
This is Rietveld 408576698