| 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 ed065a791a6325329416906ea351498a79fb2d50..32174b63eecb817e2305c8f5980e63edaa9968c7 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -1049,7 +1049,12 @@ bool SpellChecker::selectionStartHasMarkerFor(
|
| DocumentMarker::MarkerType markerType,
|
| int from,
|
| int length) const {
|
| - Node* node = findFirstMarkable(frame().selection().start().anchorNode());
|
| + Node* node =
|
| + findFirstMarkable(frame()
|
| + .selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .start()
|
| + .anchorNode());
|
| if (!node)
|
| return false;
|
|
|
|
|