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

Issue 2245543003: Removal of grammar-checking-related dead code (Closed)

Created:
4 years, 4 months ago by Xiaocheng
Modified:
4 years, 4 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, groby+blinkspell_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removal of grammar-checking-related dead code This patch removes the following dead functions: - static findBadGrammars() from TextCheckingHelper.cpp - TextCheckerClient::checkGrammarOfString - TextCheckingHelper::findFirstBadGrammar - TextCheckingHelper::findFirstGrammarDetail - TextCheckingHelper::markAllBadGrammar This patch also does some follow-up cleanup to: - SpellChecker::advanceToNextMisspelling - TextCheckingHelper::findFirstMisspellingOrBadGrammar - static checkTextOfParagraph() and FindMisspellings() in TextCheckingHelper.cpp BUG=619452 TEST=n/a; no behavior change Committed: https://crrev.com/ba7cb1928cd87eed73ef04b19474ff757b516c09 Cr-Commit-Position: refs/heads/master@{#411557}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -298 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 2 chunks +6 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h View 1 chunk +1 line, -5 lines 1 comment Download
M third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.cpp View 10 chunks +13 lines, -214 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/TextCheckerClient.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/SpellCheckerClientImpl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp View 1 chunk +0 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
Xiaocheng
PTAL.
4 years, 4 months ago (2016-08-12 04:40:23 UTC) #4
yosin_UTC9
lgtm https://codereview.chromium.org/2245543003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h File third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h (right): https://codereview.chromium.org/2245543003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h#newcode92 third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h:92: String findFirstMisspellingOrBadGrammar(int& outFirstFoundOffset); Optional: Could you add TODO ...
4 years, 4 months ago (2016-08-12 05:05:22 UTC) #5
Xiaocheng
On 2016/08/12 at 05:05:22, yosin wrote: > lgtm > > https://codereview.chromium.org/2245543003/diff/1/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h > File third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h (right): ...
4 years, 4 months ago (2016-08-12 05:08:18 UTC) #6
tkent
lgtm
4 years, 4 months ago (2016-08-12 05:12:59 UTC) #7
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/2245543003/1
4 years, 4 months ago (2016-08-12 05:33:49 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-12 05:36:01 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 05:37:54 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ba7cb1928cd87eed73ef04b19474ff757b516c09
Cr-Commit-Position: refs/heads/master@{#411557}

Powered by Google App Engine
This is Rietveld 408576698