Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Element.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
| index c957138044eff1b73aa2182707c2e3acd7a2a73d..a445e3d16cf74490999f3352a9fdd28d05d4b27e 100644 |
| --- a/third_party/WebKit/Source/core/dom/Element.cpp |
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp |
| @@ -3217,7 +3217,7 @@ bool Element::isSpellCheckingEnabled() const |
| } |
| } |
| - return true; |
| + return document().page()->settings().spellCheckEnabledByDefault(); |
|
Rick Byers
2016/09/15 20:28:09
I believe there are cases where page() could be nu
timvolodine
2016/09/22 17:52:57
Done.
|
| } |
| #if DCHECK_IS_ON() |