Index: Source/core/dom/FirstLetterPseudoElement.cpp |
diff --git a/Source/core/dom/FirstLetterPseudoElement.cpp b/Source/core/dom/FirstLetterPseudoElement.cpp |
index 055cdc3cdddb8e73f5d5671b217b9076da30b0c8..2a508c2c8af938bd92f5133e5730281e0f2fb91f 100644 |
--- a/Source/core/dom/FirstLetterPseudoElement.cpp |
+++ b/Source/core/dom/FirstLetterPseudoElement.cpp |
@@ -139,7 +139,7 @@ LayoutObject* FirstLetterPseudoElement::firstLetterTextRenderer(const Element& e |
} else if (firstLetterTextRenderer->isReplaced() || firstLetterTextRenderer->isRenderButton() |
|| firstLetterTextRenderer->isMenuList()) { |
return nullptr; |
- } else if (firstLetterTextRenderer->isFlexibleBoxIncludingDeprecated() || firstLetterTextRenderer->isRenderGrid()) { |
+ } else if (firstLetterTextRenderer->isFlexibleBoxIncludingDeprecated() || firstLetterTextRenderer->isLayoutGrid()) { |
firstLetterTextRenderer = firstLetterTextRenderer->nextSibling(); |
} else if (firstLetterTextRenderer->style()->hasPseudoStyle(FIRST_LETTER) |
&& firstLetterTextRenderer->canHaveGeneratedChildren()) { |