| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index 2f2478ea8995c980aba97a71120a36575bfe5239..478c8b7fccde663f9bbb365f8b1a32b4f2aac3e0 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -1730,7 +1730,7 @@ static bool executeSwapWithMark(LocalFrame& frame,
|
| frame.selection().computeVisibleSelectionInDOMTreeDeprecated();
|
| if (mark.isNone() || selection.isNone())
|
| return false;
|
| - frame.selection().setSelection(mark);
|
| + frame.selection().setSelection(mark.asSelection());
|
| frame.editor().setMark(selection);
|
| return true;
|
| }
|
|
|