| Index: sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayerScrollableArea.cpp b/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| index a56be11c85d027c84c0019c4eac4e2eb84a88128..245377839d7967a7867f96651a742da51d344e02 100644
|
| --- a/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| @@ -190,10 +190,7 @@ void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, co
|
| if (scrollRect.isEmpty())
|
| return;
|
|
|
| - LayoutRect paintInvalidationRect = scrollRect;
|
| - box().flipForWritingMode(paintInvalidationRect);
|
| -
|
| - IntRect intRect = pixelSnappedIntRect(paintInvalidationRect);
|
| + IntRect intRect = pixelSnappedIntRect(scrollRect);
|
|
|
| if (box().frameView()->isInPerformLayout())
|
| addScrollbarDamage(scrollbar, intRect);
|
| @@ -509,7 +506,6 @@ void RenderLayerScrollableArea::computeScrollDimensions()
|
| m_scrollDimensionsDirty = false;
|
|
|
| m_overflowRect = box().layoutOverflowRect();
|
| - box().flipForWritingMode(m_overflowRect);
|
|
|
| int scrollableLeftOverflow = m_overflowRect.x() - box().borderLeft() - (box().style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft() ? box().verticalScrollbarWidth() : 0);
|
| int scrollableTopOverflow = m_overflowRect.y() - box().borderTop();
|
|
|