Index: Source/core/editing/ApplyBlockElementCommand.cpp |
diff --git a/Source/core/editing/ApplyBlockElementCommand.cpp b/Source/core/editing/ApplyBlockElementCommand.cpp |
index b622fc93b5072942a287b9e8ed0cde9fd279173d..8de6c1669cedc8dc0f0af50c099a9a33472240cd 100644 |
--- a/Source/core/editing/ApplyBlockElementCommand.cpp |
+++ b/Source/core/editing/ApplyBlockElementCommand.cpp |
@@ -111,7 +111,7 @@ |
insertNodeAt(blockquote, start); |
RefPtr<Element> placeholder = createBreakElement(document()); |
appendNode(placeholder, blockquote); |
- setEndingSelection(VisibleSelection(positionBeforeNode(*placeholder), DOWNSTREAM, endingSelection().isDirectional())); |
+ setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelection().isDirectional())); |
return; |
} |