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

Issue 2243173003: Simplify SpellChecker::markAllMisspellingsAndBadGrammar() (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@CleanupUnifiedTextChecker
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify SpellChecker::markAllMisspellingsAndBadGrammar() This patch removes parameter |grammarSelection| from the above named function because it can be obtained from the other parameter |spellingSelection|; then it makes the function absorbed by its wrapper |markMisspellingsAndBadGrammar()| to simplify code. BUG=633509 TESt=n/a; no visible change Committed: https://crrev.com/b3d3c3a275859f83cbe4cd55c17787e59ace1507 Cr-Commit-Position: refs/heads/master@{#412166}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -56 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 6 chunks +45 lines, -55 lines 1 comment Download

Depends on Patchset:

Messages

Total messages: 15 (9 generated)
Xiaocheng
PTAL. I noticed that in this function |grammarSelection| is basically always equal to |spellingSelection| extended ...
4 years, 4 months ago (2016-08-16 02:09:53 UTC) #7
yosin_UTC9
lgtm https://codereview.chromium.org/2243173003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp (right): https://codereview.chromium.org/2243173003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp#newcode295 third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp:295: if (!isContinuousSpellCheckingEnabled()) BTW, Could you rename |isContinuousSpellCheckingEnabled()| to ...
4 years, 4 months ago (2016-08-16 02:28:47 UTC) #8
Xiaocheng
On 2016/08/16 at 02:28:47, yosin wrote: > lgtm > > https://codereview.chromium.org/2243173003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp > File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp (right): ...
4 years, 4 months ago (2016-08-16 02:50:25 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/2243173003/1
4 years, 4 months ago (2016-08-16 04:30:16 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-16 04:33:38 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 04:35:47 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b3d3c3a275859f83cbe4cd55c17787e59ace1507
Cr-Commit-Position: refs/heads/master@{#412166}

Powered by Google App Engine
This is Rietveld 408576698