| Index: third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLeakDetector.cpp b/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| index 9efed0563efa01e28d5347b87af67ee288259e5c..ada00b4af7242e2d0e95b94f1f8109a9c070b64f 100644
|
| --- a/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLeakDetector.cpp
|
| @@ -31,7 +31,6 @@
|
| #include "public/web/WebLeakDetector.h"
|
|
|
| #include "bindings/core/v8/V8GCController.h"
|
| -#include "core/editing/spellcheck/IdleSpellCheckCallback.h"
|
| #include "core/editing/spellcheck/SpellChecker.h"
|
| #include "core/workers/InProcessWorkerMessagingProxy.h"
|
| #include "core/workers/WorkerThread.h"
|
| @@ -102,10 +101,7 @@ void WebLeakDetectorImpl::prepareForLeakDetection(WebFrame* frame) {
|
| // Stop the spellchecker to prevent this.
|
| if (frame->isWebLocalFrame()) {
|
| WebLocalFrameImpl* localFrame = toWebLocalFrameImpl(frame);
|
| - if (RuntimeEnabledFeatures::idleTimeSpellCheckingEnabled())
|
| - localFrame->frame()->idleSpellCheckCallback().prepareForLeakDetection();
|
| - else
|
| - localFrame->frame()->spellChecker().prepareForLeakDetection();
|
| + localFrame->frame()->spellChecker().prepareForLeakDetection();
|
| }
|
|
|
| // FIXME: HTML5 Notification should be closed because notification affects the
|
|
|