Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index 5d5ecdd338f009522a661c96cd1d18eb341f76bc..411183ed1f7cda4b7d6a3066e1bf6ce26024b8a9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -1015,7 +1015,7 @@ void LayoutBoxModelObject::moveChildTo(LayoutBoxModelObject* toBoxModelObject, L |
// the child can no longer do so. This can happen if a block becomes floating or out-of-flow and is moved |
// to an anonymous block. Remove all floats from their float-lists immediately as markAllDescendantsWithFloatsForLayout |
// won't attempt to remove floats from parents that have inline-flow if we try later. |
- if (child->isLayoutBlockFlow() && toBoxModelObject->childrenInline() && !child->childrenInline() && !childrenInline()) { |
+ if (child->isLayoutBlockFlow() && toBoxModelObject->childrenInline() && !childrenInline()) { |
toLayoutBlockFlow(child)->removeFloatingObjectsFromDescendants(); |
ASSERT(!toLayoutBlockFlow(child)->containsFloats()); |
} |