Index: third_party/WebKit/Source/core/layout/line/LineBreaker.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp |
index 4d8dae123f60afacfb6cf59cb135fd0a8b93a774..d7fb2789d00a4f4a40a0ca67e6fdf96070c27989 100644 |
--- a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp |
@@ -43,7 +43,7 @@ void LineBreaker::skipLeadingWhitespace(InlineBidiResolver& resolver, |
} |
} else if (lineLayoutItem.isFloating()) { |
m_block.insertFloatingObject(LineLayoutBox(lineLayoutItem)); |
- m_block.positionNewFloats(&width); |
+ m_block.positionNewFloats(m_block.logicalHeight(), &width); |
} |
resolver.position().increment(&resolver); |
} |