Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 669586 | Differences between
and this patch

Collapse All | Expand All

(-)a/third_party/blink/renderer/core/editing/spellcheck/idle_spell_check_controller.cc (-2 / +2 lines)
Lines 35-41 Link Here
35
const int kHotModeRequestTimeoutMS = 200;
35
const int kHotModeRequestTimeoutMS = 200;
36
const int kInvalidHandle = -1;
36
const int kInvalidHandle = -1;
37
const int kDummyHandleForForcedInvocation = -2;
37
const int kDummyHandleForForcedInvocation = -2;
38
constexpr TimeDelta kForcedInvocationDeadline = TimeDelta::FromSeconds(10);
38
constexpr TimeDelta kIdleSpellcheckTestTimeout = TimeDelta::FromSeconds(10);
39
39
40
}  // namespace
40
}  // namespace
41
41
Lines 233-239 Link Here
233
    return;
233
    return;
234
234
235
  IdleDeadline* deadline =
235
  IdleDeadline* deadline =
236
      IdleDeadline::Create(CurrentTimeTicks() + kForcedInvocationDeadline,
236
      IdleDeadline::Create(CurrentTimeTicks() + kIdleSpellcheckTestTimeout,
237
                           IdleDeadline::CallbackType::kCalledWhenIdle);
237
                           IdleDeadline::CallbackType::kCalledWhenIdle);
238
238
239
  switch (state_) {
239
  switch (state_) {

Return to bug 669586