Index: Source/core/layout/GeneratedChildren.h |
diff --git a/Source/core/layout/GeneratedChildren.h b/Source/core/layout/GeneratedChildren.h |
index d8fbd9fa717e8178f1ba52f1113a98298e6f547d..67889ed0348f6177300244fedce6870331f4238f 100644 |
--- a/Source/core/layout/GeneratedChildren.h |
+++ b/Source/core/layout/GeneratedChildren.h |
@@ -20,9 +20,6 @@ static bool canHaveGeneratedChildren(const LayoutObject& layoutObject) |
if (layoutObject.isMedia() || layoutObject.isTextControl() || layoutObject.isMenuList()) |
return false; |
- if (layoutObject.isLayoutRegion()) |
- return true; |
- |
// Input elements can't have generated children, but button elements can. We'll |
// write the code assuming any other button types that might emerge in the future |
// can also have children. |