Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
index 65a6737db55bdb60af51d40d78d4765290907119..6875a6aeb02da194efd7ddf463d77cea027d384a 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
@@ -634,7 +634,6 @@ public class ContentViewCore |
boolean isNavigationToDifferentPage, boolean isFragmentNavigation) { |
if (!isNavigationToDifferentPage) return; |
hidePopupsAndClearSelection(); |
- resetScrollInProgress(); |
resetGestureDetection(); |
} |
@@ -1268,8 +1267,8 @@ public class ContentViewCore |
} |
private void resetGestureDetection() { |
jdduke (slow)
2014/12/20 01:12:17
Should probably rename this to |resetInputStream()
|
- if (mNativeContentViewCore == 0) return; |
- nativeResetGestureDetection(mNativeContentViewCore); |
+ if (mNativeContentViewCore != 0) nativeResetGestureDetection(mNativeContentViewCore); |
+ resetScrollInProgress(); |
} |
/** |