Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Issue 2241293006: Remove parameter node from SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar (Closed)

Created:
4 years, 4 months ago by Xiaocheng
Modified:
4 years, 4 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove parameter node from SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar This patch removes parameter |node| from the above mentioned function because it can always be computed as the root editable element of |insertedRange|. This patch is a preparation for reducing the use of TextCheckingParagraph in spell checker, since TextCheckingParagraph was introduced for synchronous spell checking which no longer exists now. BUG=619452 Committed: https://crrev.com/c4ce09744c75c1060c10bd1ac75455db27429e73 Cr-Commit-Position: refs/heads/master@{#412504}

Patch Set 1 #

Patch Set 2 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
Xiaocheng
PTAL. I think at the end of a ReplaceSelectionCommand, |endingSelection()| and |insertedRange()| always have the ...
4 years, 4 months ago (2016-08-17 08:45:01 UTC) #5
yosin_UTC9
On 2016/08/17 at 08:45:01, xiaochengh wrote: > PTAL. > > I think at the end ...
4 years, 4 months ago (2016-08-17 09:29:43 UTC) #6
Xiaocheng
Thanks. DCHECK added. I'll commit if nothing goes wrong.
4 years, 4 months ago (2016-08-17 09:47:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2241293006/20001
4 years, 4 months ago (2016-08-17 12:03:57 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-17 12:07:53 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 12:09:44 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c4ce09744c75c1060c10bd1ac75455db27429e73
Cr-Commit-Position: refs/heads/master@{#412504}

Powered by Google App Engine
This is Rietveld 408576698