Index: Source/core/dom/Text.cpp |
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp |
index 2943680e06f57edab7a28c99c224550be49dca38..4dda068e7fac0254075edab50ae406ab9e77d544 100644 |
--- a/Source/core/dom/Text.cpp |
+++ b/Source/core/dom/Text.cpp |
@@ -280,7 +280,7 @@ static inline bool canHaveWhitespaceChildren(const LayoutObject& parent) |
if (parent.isTable() || parent.isTableRow() || parent.isTableSection() |
|| parent.isLayoutTableCol() || parent.isFrameSet() |
- || parent.isFlexibleBox() || parent.isRenderGrid() |
+ || parent.isFlexibleBox() || parent.isLayoutGrid() |
|| parent.isSVGRoot() |
|| parent.isSVGContainer() |
|| parent.isSVGImage() |