Index: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
index 28f1a25ff11b14d4fa896bef176939ebb80b7c55..bfaba532ec69c0ff69dcc508249319220ebc42bb 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
@@ -109,7 +109,7 @@ bool IndentOutdentCommand::TryIndentingAsListItem(const Position& start, |
const VisiblePosition& end_of_paragraph_to_move = |
should_keep_selected_list |
? CreateVisiblePosition(end) |
- : VisiblePosition::AfterNode(selected_list_item->lastChild()); |
+ : VisiblePosition::AfterNode(*selected_list_item->lastChild()); |
// The insertion of |newList| may change the computed style of other |
// elements, resulting in failure in visible canonicalization. |