| Index: Source/core/layout/LayerScrollableArea.cpp
|
| diff --git a/Source/core/layout/LayerScrollableArea.cpp b/Source/core/layout/LayerScrollableArea.cpp
|
| index d64a0369ac6c5db03f09b9b782a049555e3de004..c18f668b3005dd9e7fdd6c49147a5396fb40267c 100644
|
| --- a/Source/core/layout/LayerScrollableArea.cpp
|
| +++ b/Source/core/layout/LayerScrollableArea.cpp
|
| @@ -1235,7 +1235,7 @@ void LayerScrollableArea::resize(const PlatformEvent& evt, const LayoutSize& old
|
|
|
| float zoomFactor = box().style()->effectiveZoom();
|
|
|
| - IntSize newOffset = offsetFromResizeCorner(document.view()->windowToContents(pos));
|
| + IntSize newOffset = offsetFromResizeCorner(document.view()->rootFrameToContents(pos));
|
| newOffset.setWidth(newOffset.width() / zoomFactor);
|
| newOffset.setHeight(newOffset.height() / zoomFactor);
|
|
|
|
|