| 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 29da94949285fd8043c0812f0b7723914d8804a7..5be65c66a173b60bdc950ec29caf7ea5bf6b2df2 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
| @@ -127,7 +127,7 @@ void DeleteSelectionCommand::InitializeStartEnd(Position& start,
|
| // beginning of the previous line, or (HR,0) when forward deleting, but in
|
| // these cases, we want to delete it, so manually expand the selection
|
| if (isHTMLHRElement(*start.AnchorNode()))
|
| - start = Position::BeforeNode(start.AnchorNode());
|
| + start = Position::BeforeNode(*start.AnchorNode());
|
| else if (isHTMLHRElement(*end.AnchorNode()))
|
| end = Position::AfterNode(end.AnchorNode());
|
|
|
|
|