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..809f18b1717c529c338cc53792ca0da043926c65 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.cpp |
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
@@ -1628,7 +1628,10 @@ void Editor::respondToChangedSelection( |
FrameSelection::SetSelectionOptions options) { |
spellChecker().respondToChangedSelection(oldSelectionStart, options); |
client().respondToChangedSelection(&frame(), |
- frame().selection().getSelectionType()); |
+ frame() |
+ .selection() |
+ .selectionInDOMTree() |
+ .selectionTypeWithLegacyGranularity()); |
setStartNewKillRingSequence(true); |
} |