Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp |
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
index decdf8298f69484fdba6bd5410c017621d4af8b5..51ae871948e4b1d8b1eb5dfa0cea9d1c98d784e7 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
@@ -724,22 +724,6 @@ void FrameSelection::SelectAll(EUserTriggered user_triggered) { |
NotifyTextControlOfSelectionChange(kUserTriggered); |
} |
-bool FrameSelection::SetSelectedRange(const EphemeralRange& range, |
- TextAffinity affinity, |
- SelectionDirectionalMode directional, |
- SetSelectionOptions options) { |
- if (range.IsNull()) |
- return false; |
- SetSelection(SelectionInDOMTree::Builder() |
- .SetBaseAndExtent(range) |
- .SetAffinity(affinity) |
- .SetIsDirectional(directional == |
- SelectionDirectionalMode::kDirectional) |
- .Build(), |
- options); |
- return true; |
-} |
- |
void FrameSelection::NotifyAccessibilityForSelectionChange() { |
if (GetSelectionInDOMTree().IsNone()) |
return; |