| 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 90fc1901a175eec07cdd468e7b7ba82aff5efb72..8b4a943d8e9e235bf172dbc788c7820a8a320e42 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -185,7 +185,7 @@ void ApplyStyleCommand::updateStartEnd(const Position& newStart, const Position&
|
| if (!m_useEndingSelection && (newStart != m_start || newEnd != m_end))
|
| m_useEndingSelection = true;
|
|
|
| - setEndingSelection(VisibleSelection(newStart, newEnd, VP_DEFAULT_AFFINITY, endingSelection().isDirectional()));
|
| + setEndingSelection(createVisibleSelectionDeprecated(newStart, newEnd, VP_DEFAULT_AFFINITY, endingSelection().isDirectional()));
|
| m_start = newStart;
|
| m_end = newEnd;
|
| }
|
|
|