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

Issue 2785103005: Remove stale spellcheck markers at idle time (Closed)

Created:
3 years, 8 months ago by Xiaocheng
Modified:
3 years, 8 months ago
Reviewers:
yosin_UTC9
CC:
Xiaocheng, blink-reviews, chromium-reviews, groby+blinkspell_chromium.org, timvolodine
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove stale spellcheck markers at idle time Blink's spellchecker used to remove stale/invalid markers synchronously, which is time-costly. This patch greatly simplifies the removal logic by integrate it with idle time spell checker. Detailed design and analysis: https://goo.gl/P7F710 BUG=705180 TEST=Existing layout tests under editing/spelling/ Review-Url: https://codereview.chromium.org/2785103005 Cr-Commit-Position: refs/heads/master@{#461968} Committed: https://chromium.googlesource.com/chromium/src/+/fd7ce52f21f9dd6c741ee0545cc109ed6267b95e

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -14 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp View 4 chunks +25 lines, -14 lines 2 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 16 (10 generated)
Xiaocheng
PTAL. I manually tested the behavior, which looks totally natural. It also passes all existing ...
3 years, 8 months ago (2017-03-31 00:08:27 UTC) #5
Xiaocheng
Ping...
3 years, 8 months ago (2017-04-03 17:56:57 UTC) #9
yosin_UTC9
lgtm w/ nit Wonderful! https://codereview.chromium.org/2785103005/diff/1/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp (right): https://codereview.chromium.org/2785103005/diff/1/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp#newcode32 third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp:32: if (comparePositions(visiblePos, wordEnd) > 0) ...
3 years, 8 months ago (2017-04-05 01:52:35 UTC) #10
Xiaocheng
Thanks for the review! https://codereview.chromium.org/2785103005/diff/1/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp File third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp (right): https://codereview.chromium.org/2785103005/diff/1/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp#newcode32 third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp:32: if (comparePositions(visiblePos, wordEnd) > 0) ...
3 years, 8 months ago (2017-04-05 02:08:33 UTC) #12
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/2785103005/1
3 years, 8 months ago (2017-04-05 02:09:09 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 03:35:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/fd7ce52f21f9dd6c741ee0545cc1...

Powered by Google App Engine
This is Rietveld 408576698