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 731166dee6274d768e3ebbdafea6b404b8a04a3e..fa307c41c8729f8a60ea5f8d306654f94aec0aa2 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 |
@@ -1934,7 +1934,8 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
float pageScaleFactor, float minPageScaleFactor, float maxPageScaleFactor, |
float contentWidth, float contentHeight, |
float viewportWidth, float viewportHeight, |
- float controlsOffsetYCss, float contentOffsetYCss) { |
+ float controlsOffsetYCss, float contentOffsetYCss, |
+ float overdrawBottomHeightCss) { |
// Adjust contentWidth/Height to be always at least as big as |
// the actual viewport (as set by onSizeChanged). |
@@ -2001,7 +2002,9 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient { |
final float deviceScale = mRenderCoordinates.getDeviceScaleFactor(); |
final float controlsOffsetPix = controlsOffsetYCss * deviceScale; |
final float contentOffsetYPix = contentOffsetYCss * deviceScale; |
- getContentViewClient().onOffsetsForFullscreenChanged(controlsOffsetPix, contentOffsetYPix); |
+ final float overdrawBottomHeightPix = overdrawBottomHeightCss * deviceScale; |
+ getContentViewClient().onOffsetsForFullscreenChanged( |
+ controlsOffsetPix, contentOffsetYPix, overdrawBottomHeightPix); |
} |
@SuppressWarnings("unused") |