Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/eventfilter/EdgeSwipeEventFilter.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/eventfilter/EdgeSwipeEventFilter.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/eventfilter/EdgeSwipeEventFilter.java |
index 88de62df319ce7754f1c3c59a67a3ae8f111f87b..6b043ecd279da046d0d89930d50060e27c08baea 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/eventfilter/EdgeSwipeEventFilter.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/eventfilter/EdgeSwipeEventFilter.java |
@@ -53,13 +53,13 @@ public class EdgeSwipeEventFilter extends EventFilter { |
private final EdgeSwipeHandler mEdgeSwipeHandler; |
private boolean mEdgeSwipeStarted; |
- private boolean mInLongPress = false; |
- private boolean mInDoubleTap = false; |
+ private boolean mInLongPress; |
+ private boolean mInDoubleTap; |
private boolean mScrollStarted; |
// This flag is used to for accumulating events when the motion at the beginning of a scroll |
// can not be trusted and we need more events to make a better angle and speed estimate. |
- private boolean mAccumulatingEvents = false; |
+ private boolean mAccumulatingEvents; |
private final ArrayList<MotionEvent> mAccumulatedEvents = new ArrayList<MotionEvent>(); |
private boolean mPropagateEventsToHostView; |