| 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 2a099550f12c5003fdd6946c18f2878188331595..d8f5e952e92277339ebceee94015715f29dd1ccd 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -804,7 +804,7 @@ void SpellChecker::respondToChangedSelection(const VisibleSelection& oldSelectio
|
| && closeTyping
|
| && !isSelectionInTextField(oldSelection)
|
| && (isSelectionInTextArea(oldSelection) || oldSelection.isContentEditable())
|
| - && oldSelection.start().inDocument()) {
|
| + && oldSelection.start().inShadowIncludingDocument()) {
|
| spellCheckOldSelection(oldSelection, newAdjacentWords);
|
| }
|
| }
|
|
|