Index: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
index 9442a3172f7acec8a13418db517212650cff2954..03bf794d0016a12d7ea4ebd1cd38171fa6a3e9c1 100644 |
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
@@ -496,7 +496,7 @@ inline void BreakingContext::handleFloat() { |
m_width.fitsOnLine( |
m_block.logicalWidthForFloat(*floatingObject).toFloat(), |
ExcludeWhitespace)) { |
- m_block.positionNewFloats(&m_width); |
+ m_block.positionNewFloats(m_block.logicalHeight(), &m_width); |
if (m_lineBreak.getLineLayoutItem() == m_current.getLineLayoutItem()) { |
ASSERT(!m_lineBreak.offset()); |
m_lineBreak.increment(); |