Index: Source/core/layout/LayoutBlockFlowLine.cpp |
diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp |
index c54361d8dcafb16f8b0377802827645f70be5b36..6011d18a6f7d6927fea45e27c15a110e7afaf2b4 100644 |
--- a/Source/core/layout/LayoutBlockFlowLine.cpp |
+++ b/Source/core/layout/LayoutBlockFlowLine.cpp |
@@ -796,7 +796,9 @@ void LayoutBlockFlow::layoutRunsAndFloatsInRange(LineLayoutState& layoutState, |
bool paginated = view()->layoutState() && view()->layoutState()->isPaginated(); |
LineMidpointState& lineMidpointState = resolver.midpointState(); |
InlineIterator endOfLine = resolver.position(); |
- bool checkForEndLineMatch = layoutState.endLine(); |
+ const bool needsToCheckEndLine = containsFloats() && lastChild() && lastChild()->isBR() && lastChild()->style()->clear(); |
leviw_travelin_and_unemployed
2015/04/24 18:55:47
Driveby: This needs a better name. The addition of
changseok
2015/04/24 21:53:08
Yes it does as long as I know. If the br places in
|
+ bool checkForEndLineMatch = layoutState.endLine() && !needsToCheckEndLine; |
+ |
LayoutTextInfo renderTextInfo; |
VerticalPositionCache verticalPositionCache; |