Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 88ed08ce73c53ec9f01818f7d54bdfd61dc56081..1971c428c44b51610abe07a89262f2d0c6753700 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -696,6 +696,11 @@ static inline bool objectIsRelayoutBoundary(const LayoutObject* object) { |
if (object->isSVGRoot()) |
return true; |
+ // LayoutInline can't be relayout roots since LayoutBlockFlow is responsible |
+ // for layouting them. |
+ if (object->isLayoutInline()) |
+ return false; |
+ |
// Table parts can't be relayout roots since the table is responsible for |
// layouting all the parts. |
if (object->isTablePart()) |