Index: third_party/WebKit/Source/core/frame/FrameView.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h |
index 9af4a9a2a6976443d58202a1e447edb820cf4b6f..128336a6fe5ee0124c8571280a11d611a0fbe017 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.h |
+++ b/third_party/WebKit/Source/core/frame/FrameView.h |
@@ -356,7 +356,7 @@ public: |
// commit scroll offsets before a WebView::resize occurs, we need to adjust |
// our scroll extents to prevent clamping the scroll offsets. |
void setTopControlsViewportAdjustment(float); |
- IntSize topControlsSize() const { return IntSize(0, roundf(m_topControlsViewportAdjustment)); } |
+ IntSize topControlsSize() const { return IntSize(0, ceilf(m_topControlsViewportAdjustment)); } |
IntPoint maximumScrollPosition() const override; |