Index: Source/core/editing/TypingCommand.cpp |
diff --git a/Source/core/editing/TypingCommand.cpp b/Source/core/editing/TypingCommand.cpp |
index 1361a80c776ec4fbd2165edeed56a3fe14f78e43..ee083dbf4c29818b87ae4d19846852d34ac57a75 100644 |
--- a/Source/core/editing/TypingCommand.cpp |
+++ b/Source/core/editing/TypingCommand.cpp |
@@ -392,7 +392,7 @@ bool TypingCommand::makeEditableRootEmpty() |
if (root->firstChild() == root->lastChild()) { |
if (isHTMLBRElement(root->firstChild())) { |
// If there is a single child and it could be a placeholder, leave it alone. |
- if (root->renderer() && root->renderer()->isLayoutBlockFlow()) |
+ if (root->layoutObject() && root->layoutObject()->isLayoutBlockFlow()) |
return false; |
} |
} |