Chromium Code Reviews| 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 7561c03b0fa49cf87afc275f79a099554c64e0d8..8514a0223f230d88487e6473fa2d8a8e72683295 100644 |
| --- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
| +++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
| @@ -296,6 +296,10 @@ bool VisualViewport::didSetScaleOrLocation(float scale, |
| clampToBoundaries(); |
| + // TODO(ymalik): VisualViewport shouldn't be talking to FrameView and this |
| + // should happen through RootFrameViewport. |
| + mainFrame()->view()->updateScrollbars(); |
|
bokan
2016/11/03 19:59:59
We don't need this anymore since you added it to R
ymalik
2016/11/04 18:54:17
Oops, forgot to remove. Thanks.
|
| + |
| return true; |
| } |