Index: Source/core/editing/SimplifyMarkupCommand.cpp |
diff --git a/Source/core/editing/SimplifyMarkupCommand.cpp b/Source/core/editing/SimplifyMarkupCommand.cpp |
index 4e755fcb54d6833c6d7e7e5405dff7a52cf61ea9..172e7dc691b07eb37d1560095cfed53b501579b2 100644 |
--- a/Source/core/editing/SimplifyMarkupCommand.cpp |
+++ b/Source/core/editing/SimplifyMarkupCommand.cpp |
@@ -68,7 +68,7 @@ void SimplifyMarkupCommand::doApply() |
if (!currentNode) |
break; |
- if (!currentNode->renderer() || !currentNode->renderer()->isLayoutInline() || toLayoutInline(currentNode->renderer())->alwaysCreateLineBoxes()) |
+ if (!currentNode->layoutObject() || !currentNode->layoutObject()->isLayoutInline() || toLayoutInline(currentNode->layoutObject())->alwaysCreateLineBoxes()) |
continue; |
if (currentNode->firstChild() != currentNode->lastChild()) { |