| Index: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| index 6b93ef65ba8194c49418d52b141e4ac23c69973e..434f829c5dcc4609c37f02d8f940e5f87884cf16 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| @@ -115,7 +115,7 @@ void FormatBlockCommand::FormatRange(const Position& start,
|
|
|
| Position last_paragraph_in_block_node =
|
| block_element->lastChild()
|
| - ? Position::AfterNode(block_element->lastChild())
|
| + ? Position::AfterNode(*block_element->lastChild())
|
| : Position();
|
| bool was_end_of_paragraph =
|
| IsEndOfParagraph(CreateVisiblePosition(last_paragraph_in_block_node));
|
|
|