| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
 | 
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
 | 
| index 9371b09422912ad606f5ef145d750a5b1d85143a..9435a36129e6ec3f06b6d5998d90f256b9a194f2 100644
 | 
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
 | 
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
 | 
| @@ -48,6 +48,7 @@ import org.chromium.content.browser.LoadUrlParams;
 | 
|  import org.chromium.content.browser.NavigationHistory;
 | 
|  import org.chromium.content.browser.PageTransitionTypes;
 | 
|  import org.chromium.content.common.CleanupReference;
 | 
| +import org.chromium.content_public.browser.GestureStateListener;
 | 
|  import org.chromium.ui.base.ActivityWindowAndroid;
 | 
|  import org.chromium.ui.base.WindowAndroid;
 | 
|  import org.chromium.ui.gfx.DeviceDisplayInfo;
 | 
| @@ -382,7 +383,7 @@ public class AwContents {
 | 
|      }
 | 
|  
 | 
|      //--------------------------------------------------------------------------------------------
 | 
| -    private class AwGestureStateListener implements ContentViewCore.GestureStateListener {
 | 
| +    private class AwGestureStateListener extends GestureStateListener {
 | 
|          @Override
 | 
|          public void onPinchGestureStart() {
 | 
|              // While it's possible to re-layout the view during a pinch gesture, the effect is very
 | 
| @@ -400,7 +401,8 @@ public class AwContents {
 | 
|          }
 | 
|  
 | 
|          @Override
 | 
| -        public void onFlingStartGesture(int velocityX, int velocityY) {
 | 
| +        public void onFlingStartGesture(
 | 
| +                int velocityX, int velocityY, int scrollOffsetY, int scrollExtentY) {
 | 
|              mScrollOffsetManager.onFlingStartGesture(velocityX, velocityY);
 | 
|          }
 | 
|  
 | 
| @@ -516,7 +518,7 @@ public class AwContents {
 | 
|  
 | 
|      private static ContentViewCore createAndInitializeContentViewCore(ViewGroup containerView,
 | 
|              InternalAccessDelegate internalDispatcher, int nativeWebContents,
 | 
| -            ContentViewCore.GestureStateListener pinchGestureStateListener,
 | 
| +            GestureStateListener gestureStateListener,
 | 
|              ContentViewClient contentViewClient,
 | 
|              ContentViewCore.ZoomControlsDelegate zoomControlsDelegate) {
 | 
|          Context context = containerView.getContext();
 | 
| @@ -525,7 +527,7 @@ public class AwContents {
 | 
|                  context instanceof Activity ?
 | 
|                          new ActivityWindowAndroid((Activity) context) :
 | 
|                          new WindowAndroid(context.getApplicationContext()));
 | 
| -        contentViewCore.setGestureStateListener(pinchGestureStateListener);
 | 
| +        contentViewCore.addGestureStateListener(gestureStateListener);
 | 
|          contentViewCore.setContentViewClient(contentViewClient);
 | 
|          contentViewCore.setZoomControlsDelegate(zoomControlsDelegate);
 | 
|          return contentViewCore;
 | 
| 
 |