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/finder/text_finder.cc (-2 / +2 lines)
Lines 68-74 Link Here
68
namespace blink {
68
namespace blink {
69
69
70
namespace {
70
namespace {
71
constexpr TimeDelta kForcedInvocationDeadline = TimeDelta::FromSeconds(10);
71
constexpr TimeDelta kTextFinderTestTimeout = TimeDelta::FromSeconds(10);
72
}
72
}
73
73
74
TextFinder::FindMatch::FindMatch(Range* range, int ordinal)
74
TextFinder::FindMatch::FindMatch(Range* range, int ordinal)
Lines 888-894 Link Here
888
  // https://crbug.com/875203
888
  // https://crbug.com/875203
889
  if (options.run_synchronously_for_testing) {
889
  if (options.run_synchronously_for_testing) {
890
    ScopeStringMatches(
890
    ScopeStringMatches(
891
        IdleDeadline::Create(CurrentTimeTicks() + kForcedInvocationDeadline,
891
        IdleDeadline::Create(CurrentTimeTicks() + kTextFinderTestTimeout,
892
                             IdleDeadline::CallbackType::kCalledWhenIdle),
892
                             IdleDeadline::CallbackType::kCalledWhenIdle),
893
        identifier, search_text, options);
893
        identifier, search_text, options);
894
  } else {
894
  } else {

Return to bug 669586