| Index: Source/core/rendering/RenderBox.h
 | 
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
 | 
| index bc62793fc0b6a1d2e67b311ab1db09894148ec19..c20dd65000a8a675d30188c1676d3ea7da8e5669 100644
 | 
| --- a/Source/core/rendering/RenderBox.h
 | 
| +++ b/Source/core/rendering/RenderBox.h
 | 
| @@ -173,7 +173,8 @@ public:
 | 
|      // For horizontal-tb and vertical-lr they will match physical directions, but for horizontal-bt and vertical-rl, the top/bottom and left/right
 | 
|      // respectively are flipped when compared to their physical counterparts.  For example minX is on the left in vertical-lr,
 | 
|      // but it is on the right in vertical-rl.
 | 
| -    LayoutRect layoutOverflowRect() const { return m_overflow ? m_overflow->layoutOverflowRect() : clientBoxRect(); }
 | 
| +    LayoutRect noOverflowRect() const;
 | 
| +    LayoutRect layoutOverflowRect() const { return m_overflow ? m_overflow->layoutOverflowRect() : noOverflowRect(); }
 | 
|      IntRect pixelSnappedLayoutOverflowRect() const { return pixelSnappedIntRect(layoutOverflowRect()); }
 | 
|      LayoutSize maxLayoutOverflow() const { return LayoutSize(layoutOverflowRect().maxX(), layoutOverflowRect().maxY()); }
 | 
|      LayoutUnit logicalLeftLayoutOverflow() const { return style()->isHorizontalWritingMode() ? layoutOverflowRect().x() : layoutOverflowRect().y(); }
 | 
| 
 |