Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp |
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
index 9ca8b0c5e8bce9d61b99c3eac47a54ddb4c05d35..6fd3bd16a767c965307481348e17e6c684cb415e 100644 |
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
@@ -486,7 +486,7 @@ DoublePoint VisualViewport::maximumScrollPositionDouble() const |
frameViewSize = FloatSize(flooredIntSize(frameViewSize)); |
FloatSize viewportSize(m_size); |
- viewportSize.expand(0, m_topControlsAdjustment); |
+ viewportSize.expand(0, ceilf(m_topControlsAdjustment)); |
majidvp
2016/04/01 17:09:36
Can you point out where in CC we are ceiling the t
bokan
2016/04/05 17:11:40
https://code.google.com/p/chromium/codesearch#chro
|
FloatSize maxPosition = frameViewSize - viewportSize; |
maxPosition.scale(1 / m_scale); |