Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
index 12c60526b0ba4560599f99367f21e1ab7dd83b66..c3d742efee6cddec3b66f3168d3f3b984da88eff 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp |
@@ -431,7 +431,7 @@ bool DeleteSelectionCommand::HandleSpecialCaseBRDelete( |
if (upstream_start_is_br && downstream_start_is_br) { |
GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets(); |
if (!(IsStartOfBlock( |
- VisiblePosition::BeforeNode(node_after_upstream_start)) && |
+ VisiblePosition::BeforeNode(*node_after_upstream_start)) && |
IsEndOfBlock( |
VisiblePosition::AfterNode(*node_after_upstream_start)))) { |
starts_at_empty_line_ = true; |