| Index: Source/core/editing/Editor.cpp
|
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
|
| index 75f5ef06f107a2fe1bf5ec514e5d9359abf2d57f..38e7348eabbb5ac5c18e474190a4f540a9eb79f4 100644
|
| --- a/Source/core/editing/Editor.cpp
|
| +++ b/Source/core/editing/Editor.cpp
|
| @@ -2098,8 +2098,7 @@ void Editor::respondToChangedSelection(const VisibleSelection& oldSelection, Fra
|
| if (shouldCheckSpellingAndGrammar
|
| && closeTyping
|
| && oldSelection.isContentEditable()
|
| - && oldSelection.start().deprecatedNode()
|
| - && oldSelection.start().anchorNode()->inDocument()
|
| + && oldSelection.start().inDocument()
|
| && !isSelectionInTextField(oldSelection)) {
|
| spellCheckOldSelection(oldSelection, newAdjacentWords, newSelectedSentence);
|
| }
|
|
|