| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 4bf340fd5f88a108d11159655cef891e15700d7c..e76013abf83f3a8f1f2d7d4fee620ed130d439a1 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1627,8 +1627,11 @@ void Editor::respondToChangedSelection(
|
| const Position& oldSelectionStart,
|
| FrameSelection::SetSelectionOptions options) {
|
| spellChecker().respondToChangedSelection(oldSelectionStart, options);
|
| - client().respondToChangedSelection(&frame(),
|
| - frame().selection().getSelectionType());
|
| + client().respondToChangedSelection(
|
| + &frame(), frame()
|
| + .selection()
|
| + .selectionInDOMTree()
|
| + .computeSelectionTypeConsideringGranularity());
|
| setStartNewKillRingSequence(true);
|
| }
|
|
|
|
|