| 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 09bedae2684c38b7ad1e27ef158f40206d39c76b..ae184fea730b5b1ec8648c939e65626e1b6026a3 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -1054,7 +1054,8 @@ void SpellChecker::cancelCheck() {
|
| }
|
|
|
| void SpellChecker::documentAttached(Document* document) {
|
| - m_idleSpellCheckCallback->documentAttached(document);
|
| + if (RuntimeEnabledFeatures::idleTimeSpellCheckingEnabled())
|
| + m_idleSpellCheckCallback->documentAttached(document);
|
| }
|
|
|
| DEFINE_TRACE(SpellChecker) {
|
|
|