Commit 91d6f941 authored by xiaochengh's avatar xiaochengh Committed by Commit bot

Prune ComputeVisibleSelectionInDOMTreeDeprecated from TargetRangesForInputEvent

This patch prunes a call site of the deprecated function to improve code
health.

BUG=698633
TEST=n/a; no behavioral change

Review-Url: https://codereview.chromium.org/2849573002
Cr-Commit-Position: refs/heads/master@{#467887}
parent b96dfa5b
......@@ -2112,7 +2112,7 @@ const StaticRangeVector* TargetRangesForInputEvent(const Node& node) {
FirstEphemeralRangeOf(node.GetDocument()
.GetFrame()
->Selection()
.ComputeVisibleSelectionInDOMTreeDeprecated());
.ComputeVisibleSelectionInDOMTree());
if (range.IsNull())
return nullptr;
return new StaticRangeVector(1, StaticRange::Create(range));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment