| 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 3a156401f1a5a73f426182251b4ee6822a63bcae..19b8a96322398318c1b139edea9114fdd30e6ad2 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -1613,7 +1613,7 @@ void ApplyStyleCommand::SplitTextElementAtEnd(const Position& start,
|
| should_update_start
|
| ? Position(ToText(first_text_node), start.OffsetInContainerNode())
|
| : start;
|
| - UpdateStartEnd(new_start, Position::AfterNode(first_text_node));
|
| + UpdateStartEnd(new_start, Position::AfterNode(*first_text_node));
|
| }
|
|
|
| bool ApplyStyleCommand::ShouldSplitTextElement(Element* element,
|
|
|