| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index e775c8b624e9c44ba916fc60ef3d408743d13ad9..2a08e6d2032520da968c6cefe167dfc53f956bf5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -170,7 +170,7 @@ void LayoutBox::removeFloatingOrPositionedChildFromBlockLists()
|
|
|
| if (isFloating()) {
|
| LayoutBlockFlow* parentBlockFlow = nullptr;
|
| - for (LayoutObject* curr = parent(); curr && !curr->isLayoutView(); curr = curr->parent()) {
|
| + for (LayoutObject* curr = parent(); curr; curr = curr->parent()) {
|
| if (curr->isLayoutBlockFlow()) {
|
| LayoutBlockFlow* currBlockFlow = toLayoutBlockFlow(curr);
|
| if (!parentBlockFlow || currBlockFlow->containsFloat(this))
|
|
|