| Index: third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp b/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp
|
| index 7230ffffd5ee867855661bf9b1c5572e84496107..cfdac39e20df07ff345af77fa7bca31e3b0871a5 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.cpp
|
| @@ -53,21 +53,13 @@ IdleSpellCheckCallback::IdleSpellCheckCallback(LocalFrame& frame)
|
| &IdleSpellCheckCallback::coldModeTimerFired) {}
|
|
|
| SpellCheckRequester& IdleSpellCheckCallback::spellCheckRequester() const {
|
| - // TODO(xiaochengh): decouple with SpellChecker after SpellCheckRequester is
|
| - // moved to IdleSpellCheckCallback.
|
| return frame().spellChecker().spellCheckRequester();
|
| }
|
|
|
| bool IdleSpellCheckCallback::isSpellCheckingEnabled() const {
|
| - // TODO(xiaochengh): decouple with SpellChecker.
|
| return frame().spellChecker().isSpellCheckingEnabled();
|
| }
|
|
|
| -void IdleSpellCheckCallback::prepareForLeakDetection() {
|
| - if (RuntimeEnabledFeatures::idleTimeSpellCheckingEnabled())
|
| - spellCheckRequester().prepareForLeakDetection();
|
| -}
|
| -
|
| void IdleSpellCheckCallback::requestInvocation() {
|
| IdleRequestOptions options;
|
| options.setTimeout(kRequestTimeoutMS);
|
|
|