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

Issue 2734393003: Correct usage of text iterator in idle time spellchecker (Closed)

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

Description

Correct usage of text iterator in idle time spellchecker Idle time spell checker used to assume that TextIterator::advance() is no-op when the iterator is already at end, which is incorrect. This patch fixes the issue by adding |atEnd()| checks. Note: When at end, TextIterator::advance() should be no-op but is not. See crbug.com/699747 BUG=679616 TEST=compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html Review-Url: https://codereview.chromium.org/2734393003 Cr-Commit-Position: refs/heads/master@{#455654} Committed: https://chromium.googlesource.com/chromium/src/+/9ca1914b925d1108499243aeb51dee5d175535af

Patch Set 1 #

Patch Set 2 : Remove TODO #

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

Dependent Patchsets:

Messages

Total messages: 28 (17 generated)
Xiaocheng
PTAL. This should be the last blocker of enabling idle time spell checker in tests.
3 years, 9 months ago (2017-03-08 23:44:30 UTC) #5
tkent
We already have tests covering this code change, right?
3 years, 9 months ago (2017-03-09 00:12:12 UTC) #10
Xiaocheng
On 2017/03/09 at 00:12:12, tkent wrote: > We already have tests covering this code change, ...
3 years, 9 months ago (2017-03-09 00:16:39 UTC) #12
tkent
lgtm
3 years, 9 months ago (2017-03-09 00:23:15 UTC) #13
Xiaocheng
Discussed with yosin@ and agreed on that TextIterator::advance() should not be called at end. Instead, ...
3 years, 9 months ago (2017-03-09 01:05:53 UTC) #16
Xiaocheng
Removed TODO according to #16. Committing...
3 years, 9 months ago (2017-03-09 01:07:41 UTC) #18
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/2734393003/20001
3 years, 9 months ago (2017-03-09 01:08:31 UTC) #20
yosin_UTC9
lgtm BTW, I change crbug.com/699747 to TextIterator::advance() should have DCHECK(!atEnd()) at the entry of function ...
3 years, 9 months ago (2017-03-09 01:24:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/336808)
3 years, 9 months ago (2017-03-09 02:02:55 UTC) #23
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/2734393003/20001
3 years, 9 months ago (2017-03-09 02:28:57 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 03:29:35 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9ca1914b925d1108499243aeb51d...

Powered by Google App Engine
This is Rietveld 408576698