| 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 3dad9c7ea14f247b7b7d5ed7a265d28c05f41d1f..3b5f8e4515dbfdbe2bb385a4cb93b9065d7e124b 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -607,7 +607,7 @@ void SpellChecker::MarkAndReplaceFor(
|
| // behavior and should be rewritten.
|
| // Attempt to save the caret position so we can restore it later if needed
|
| const Position& caret_position =
|
| - GetFrame().Selection().ComputeVisibleSelectionInDOMTree().end();
|
| + GetFrame().Selection().ComputeVisibleSelectionInDOMTree().End();
|
| const Position& paragraph_start = checking_range.StartPosition();
|
| const int selection_offset =
|
| paragraph_start < caret_position
|
|
|