Chromium Code Reviews| 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 5ced5f51e552afcf9632cbe705ffc64ad2f121cd..07c4c9611ec3ad3495929e7c0048a1b8d5ead985 100644 |
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
| @@ -140,6 +140,8 @@ void SpellChecker::didBeginEditing(Element* element) |
| } |
| if (isTextField || !parent->isAlreadySpellChecked()) { |
| + if (EditingStrategy::editingIgnoresContent(element)) |
|
yoichio
2016/06/29 01:35:57
Please add description why crash happens and this
yosin_UTC9
2016/06/29 02:03:04
Done.
|
| + return; |
| // We always recheck textfields because markers are removed from them on blur. |
| VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); |
| markMisspellingsAndBadGrammar(selection); |