| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| index 1bb7922fe8f2ec84519561467181a43c7e058540..d8f5f4baa4c78ea81dd85d017da4cf33647ce71a 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -1042,7 +1042,8 @@ void SpellChecker::cancelCheck() {
|
| }
|
|
|
| void SpellChecker::documentAttached(Document* document) {
|
| - m_idleSpellCheckCallback->documentAttached(document);
|
| + if (RuntimeEnabledFeatures::idleTimeSpellCheckingEnabled())
|
| + m_idleSpellCheckCallback->documentAttached(document);
|
| }
|
|
|
| DEFINE_TRACE(SpellChecker) {
|
|
|