| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index 8682b1f48c8cb8b2768572ebabbf15fbd4940d53..8e46daf83b86448e627e7d3f50ccfff0d86f68e3 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -1573,7 +1573,7 @@ void ApplyStyleCommand::SplitTextAtEnd(const Position& start,
|
| should_update_start
|
| ? Position(ToText(prev_node), start.OffsetInContainerNode())
|
| : start;
|
| - UpdateStartEnd(new_start, Position::LastPositionInNode(prev_node));
|
| + UpdateStartEnd(new_start, Position::LastPositionInNode(*prev_node));
|
| }
|
|
|
| void ApplyStyleCommand::SplitTextElementAtStart(const Position& start,
|
|
|