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

Issue 2744603004: Correct the activation of idle time spell checker on document attach (Closed)

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

Description

Correct the activation of idle time spell checker on document attach There is a bug that, when a document is attached, the idle time spell checker is requested for cold mode invocation even without the IdleTimeSpellChecking flag. This patch fixes the bug. To ensure that idle time spell checker is only invoked with the flag, a DCHECK is also added to the handleEvnet() function. Related unit tests are disabled when there is no flag. BUG=700081, 517298 Review-Url: https://codereview.chromium.org/2744603004 Cr-Commit-Position: refs/heads/master@{#455942} Committed: https://chromium.googlesource.com/chromium/src/+/624c5cfae4ce865f8ac91be865a29ff0e9fdbe34

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -7 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallbackTest.cpp View 8 chunks +39 lines, -6 lines 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: 14 (10 generated)
Xiaocheng
PTAL.
3 years, 9 months ago (2017-03-10 00:42:09 UTC) #5
yosin_UTC9
lgtm
3 years, 9 months ago (2017-03-10 01:04:17 UTC) #10
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/2744603004/1
3 years, 9 months ago (2017-03-10 01:04:46 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 01:17:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/624c5cfae4ce865f8ac91be865a2...

Powered by Google App Engine
This is Rietveld 408576698