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

Issue 2740503002: Remove timeout from idle time spell checker's cold mode request (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

Remove timeout from idle time spell checker's cold mode request Idle time spell checker's cold mode is not essential task -- it doesn't even matter that much if it starves, as it doesn't have a strong requirement on latency. Hence, this patch removes timeout when requesting cold mode via requestIdleCallback. This patch also fixes the unit test failure in crrev.com/2734013002 BUG=517298 Review-Url: https://codereview.chromium.org/2740503002 Cr-Commit-Position: refs/heads/master@{#455336} Committed: https://chromium.googlesource.com/chromium/src/+/3164ef05aedfd208cf1d9e43558d7e8d59b14a2c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make change more verbose #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -16 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp View 1 4 chunks +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallbackTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (12 generated)
Xiaocheng
PTAL.
3 years, 9 months ago (2017-03-07 06:45:03 UTC) #5
yosin_UTC9
code changes are good except for whether using base::TimeDelta or not. I'm confusing about description ...
3 years, 9 months ago (2017-03-07 08:15:30 UTC) #6
Xiaocheng
Updated. I realized that function requestInvocation() is no longer necessary, as now the two modes ...
3 years, 9 months ago (2017-03-07 21:27:44 UTC) #11
yosin_UTC9
On 2017/03/07 at 21:27:44, xiaochengh wrote: > Updated. I realized that function requestInvocation() is no ...
3 years, 9 months ago (2017-03-08 01:19:30 UTC) #12
yosin_UTC9
lgtm
3 years, 9 months ago (2017-03-08 01:19:39 UTC) #13
Xiaocheng
Thanks!
3 years, 9 months ago (2017-03-08 01:22:06 UTC) #16
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/2740503002/20001
3 years, 9 months ago (2017-03-08 01:23:32 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 01:53:36 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3164ef05aedfd208cf1d9e43558d...

Powered by Google App Engine
This is Rietveld 408576698