Commit cd485ea7 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Unassign myself from two TODOs in SpellChecker::MarkAndReplaceFor

Notry: True
Bug: 230387
Change-Id: I1a4afe8a7a414b17373fda2315b71ba3d8035824
Reviewed-on: https://chromium-review.googlesource.com/838120Reviewed-by: default avatarRyan Landay <rlanday@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525514}
parent aac89633
...@@ -316,14 +316,14 @@ void SpellChecker::MarkAndReplaceFor( ...@@ -316,14 +316,14 @@ void SpellChecker::MarkAndReplaceFor(
TextCheckingParagraph paragraph(checking_range, checking_range); TextCheckingParagraph paragraph(checking_range, checking_range);
// TODO(xiaochengh): The following comment does not match the current behavior // TODO(crbug.com/230387): The following comment does not match the current
// and should be rewritten. // behavior and should be rewritten.
// Expand the range to encompass entire paragraphs, since text checking needs // Expand the range to encompass entire paragraphs, since text checking needs
// that much context. // that much context.
int ambiguous_boundary_offset = -1; int ambiguous_boundary_offset = -1;
if (GetFrame().Selection().ComputeVisibleSelectionInDOMTree().IsCaret()) { if (GetFrame().Selection().ComputeVisibleSelectionInDOMTree().IsCaret()) {
// TODO(xiaochengh): The following comment does not match the current // TODO(crbug.com/230387): The following comment does not match the current
// behavior and should be rewritten. // behavior and should be rewritten.
// Attempt to save the caret position so we can restore it later if needed // Attempt to save the caret position so we can restore it later if needed
const Position& caret_position = const Position& caret_position =
......
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