Index: Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
diff --git a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
index 29ca0bcd8278aba8c20181e76e9576e674161653..834c91a0f0f3db27c7ae7793904c20d3fae668fc 100644 |
--- a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
+++ b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
@@ -51,7 +51,7 @@ void SplitTextNodeContainingElementCommand::doApply() |
if (!parent || !parent->parentElement() || !parent->parentElement()->hasEditableStyle()) |
return; |
- LayoutObject* parentRenderer = parent->renderer(); |
+ LayoutObject* parentRenderer = parent->layoutObject(); |
if (!parentRenderer || !parentRenderer->isInline()) { |
wrapContentsInDummySpan(parent); |
Node* firstChild = parent->firstChild(); |