Index: Source/core/editing/IndentOutdentCommand.cpp |
diff --git a/Source/core/editing/IndentOutdentCommand.cpp b/Source/core/editing/IndentOutdentCommand.cpp |
index 516d25f71fa6edceea9d164408f6d303f8f4d8a9..db201be8366a66c59129ee1dfdb1bad2b19f4452 100644 |
--- a/Source/core/editing/IndentOutdentCommand.cpp |
+++ b/Source/core/editing/IndentOutdentCommand.cpp |
@@ -154,7 +154,7 @@ void IndentOutdentCommand::outdentParagraph() |
VisiblePosition positionInEnclosingBlock = VisiblePosition(firstPositionInNode(enclosingElement)); |
// If the blockquote is inline, the start of the enclosing block coincides with |
// positionInEnclosingBlock. |
- VisiblePosition startOfEnclosingBlock = (enclosingElement->renderer() && enclosingElement->renderer()->isInline()) ? positionInEnclosingBlock : startOfBlock(positionInEnclosingBlock); |
+ VisiblePosition startOfEnclosingBlock = (enclosingElement->layoutObject() && enclosingElement->layoutObject()->isInline()) ? positionInEnclosingBlock : startOfBlock(positionInEnclosingBlock); |
VisiblePosition lastPositionInEnclosingBlock = VisiblePosition(lastPositionInNode(enclosingElement)); |
VisiblePosition endOfEnclosingBlock = endOfBlock(lastPositionInEnclosingBlock); |
if (visibleStartOfParagraph == startOfEnclosingBlock && |