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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.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/GenericTouchGesture.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.java b/content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.java
index c381da66124d4d66d2796c62a65f59331500a927..de2fa741c70f4e9529f65df02ce7ff8931137acf 100644
--- a/content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.java
+++ b/content/public/android/java/src/org/chromium/content/browser/GenericTouchGesture.java
@@ -30,7 +30,7 @@ public class GenericTouchGesture {
private TimeAnimator mTimeAnimator;
- private int mNativePtr;
+ private long mNativePtr;
private long mDownTime;
private long mStartTime;
@@ -172,7 +172,7 @@ public class GenericTouchGesture {
}
@CalledByNative
- void start(int nativePtr) {
+ void start(long nativePtr) {
assert mNativePtr == 0;
mNativePtr = nativePtr;
mStartTime = SystemClock.uptimeMillis();
@@ -291,6 +291,6 @@ public class GenericTouchGesture {
}
private native float nativeGetDelta(
- int nativeGenericTouchGestureAndroid, float scale);
- private native void nativeSetHasFinished(int nativeGenericTouchGestureAndroid);
+ long nativeGenericTouchGestureAndroid, float scale);
+ private native void nativeSetHasFinished(long nativeGenericTouchGestureAndroid);
}

Powered by Google App Engine
This is Rietveld 408576698