Chromium Code Reviews| Index: Source/core/layout/shapes/ShapeOutsideInfo.cpp |
| diff --git a/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
| index 7a110df8b54bcaac27aa3d9957b7f95ab8817f2a..87dc9f1b210b96946f1bc2eaa61eeb9a2364d411 100644 |
| --- a/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
| +++ b/Source/core/layout/shapes/ShapeOutsideInfo.cpp |
| @@ -153,7 +153,7 @@ const Shape& ShapeOutsideInfo::computedShape() const |
| const ComputedStyle& containingBlockStyle = *m_renderer.containingBlock()->style(); |
| WritingMode writingMode = containingBlockStyle.writingMode(); |
| - LayoutUnit maximumValue = m_renderer.containingBlock() ? m_renderer.containingBlock()->contentWidth() : LayoutUnit(); |
| + LayoutUnit maximumValue = m_renderer.containingBlock() ? m_renderer.containingBlock()->contentWidthExcludingScrollbar() : LayoutUnit(); |
|
leviw_travelin_and_unemployed
2015/04/22 01:02:16
Will this still yield the right answer when we hav
|
| float margin = floatValueForLength(m_renderer.style()->shapeMargin(), maximumValue.toFloat()); |
| float shapeImageThreshold = style.shapeImageThreshold(); |