| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index 798e9a96da83a9e5278783f73bdaf5b7c0cab558..7a9d7bab0ad58c692bd745acb17c8717aa6f6ba0 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -1675,9 +1675,11 @@ void LayoutBlockFlow::computeInlinePreferredLogicalWidths(
|
| clearPreviousFloat =
|
| (prevFloat &&
|
| ((prevFloat->styleRef().floating() == EFloat::kLeft &&
|
| - (childStyle.clear() & ClearLeft)) ||
|
| + (childStyle.clear() == ClearBoth ||
|
| + childStyle.clear() == ClearLeft)) ||
|
| (prevFloat->styleRef().floating() == EFloat::kRight &&
|
| - (childStyle.clear() & ClearRight))));
|
| + (childStyle.clear() == ClearBoth ||
|
| + childStyle.clear() == ClearRight))));
|
| prevFloat = child;
|
| } else {
|
| clearPreviousFloat = false;
|
|
|