Index: Source/core/rendering/line/BreakingContextInlineHeaders.h |
diff --git a/Source/core/rendering/line/BreakingContextInlineHeaders.h b/Source/core/rendering/line/BreakingContextInlineHeaders.h |
index b69dbfe4d57ae63519e7ad2785f4e12616496a5a..f71058733a6fb7ecd231ba22a39e93b864436d11 100644 |
--- a/Source/core/rendering/line/BreakingContextInlineHeaders.h |
+++ b/Source/core/rendering/line/BreakingContextInlineHeaders.h |
@@ -371,7 +371,7 @@ inline void BreakingContext::handleFloat() |
// If it does, position it now, otherwise, position |
// it after moving to next line (in newLine() func) |
// FIXME: Bug 110372: Properly position multiple stacked floats with non-rectangular shape outside. |
- if (m_floatsFitOnLine && m_width.fitsOnLine(m_block->logicalWidthForFloat(floatingObject).toFloat(), ExcludeWhitespace)) { |
+ if (m_floatsFitOnLine && m_width.fitsOnLine(m_block->logicalWidthForFloat(*floatingObject).toFloat(), ExcludeWhitespace)) { |
m_block->positionNewFloatOnLine(floatingObject, m_lastFloatFromPreviousLine, m_lineInfo, m_width); |
if (m_lineBreak.object() == m_current.object()) { |
ASSERT(!m_lineBreak.offset()); |