Index: Source/core/layout/LayoutBox.h |
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
index cadaeebac5b8ec5d656cf1a49b5b3fce3c158f6e..6818c2b22b5f32258d5e53be8ec811a9b7e7925b 100644 |
--- a/Source/core/layout/LayoutBox.h |
+++ b/Source/core/layout/LayoutBox.h |
@@ -537,7 +537,7 @@ public: |
bool isDeprecatedFlexItem() const { return !isInline() && !isFloatingOrOutOfFlowPositioned() && parent() && parent()->isDeprecatedFlexibleBox(); } |
bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloatingOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBoxIncludingDeprecated(); } |
- bool isGridItem() const { return parent() && parent()->isRenderGrid(); } |
+ bool isGridItem() const { return parent() && parent()->isLayoutGrid(); } |
virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override; |
virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override; |