Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
index 9c7903ffaf0e6b58a460fcc568c9e12fe32bef2e..77f0f49debf2470c26b853ffe386093b691c76ee 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp |
@@ -1384,9 +1384,9 @@ void ReplaceSelectionCommand::completeHTMLReplacement(const Position &lastPositi |
m_endOfInsertedRange = end; |
if (m_selectReplacement) |
- setEndingSelection(VisibleSelection(start, end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional())); |
+ setEndingSelection(VisibleSelection(start, end, SelDefaultAffinity, endingSelection().isDirectional())); |
else |
- setEndingSelection(VisibleSelection(end, SEL_DEFAULT_AFFINITY, endingSelection().isDirectional())); |
+ setEndingSelection(VisibleSelection(end, SelDefaultAffinity, endingSelection().isDirectional())); |
} |
void ReplaceSelectionCommand::mergeTextNodesAroundPosition(Position& position, Position& positionOnlyToBeUpdated) |