| Index: Source/core/editing/SpellChecker.cpp
|
| diff --git a/Source/core/editing/SpellChecker.cpp b/Source/core/editing/SpellChecker.cpp
|
| index aa83b4c9a719c9af9a4542cff64673cfdc243276..85bfe526972a17be6a6ef6f084b183bf20172eef 100644
|
| --- a/Source/core/editing/SpellChecker.cpp
|
| +++ b/Source/core/editing/SpellChecker.cpp
|
| @@ -753,7 +753,7 @@ void SpellChecker::respondToChangedSelection(const VisibleSelection& oldSelectio
|
| && oldSelection.isContentEditable()
|
| && oldSelection.start().inDocument()
|
| && !isSelectionInTextField(oldSelection)) {
|
| - spellCheckOldSelection(oldSelection, newAdjacentWords, newSelectedSentence);
|
| + spellCheckOldSelection(oldSelection, newAdjacentWords);
|
| }
|
|
|
| if (textChecker().shouldEraseMarkersAfterChangeSelection(TextCheckingTypeSpelling)) {
|
| @@ -789,10 +789,10 @@ void SpellChecker::spellCheckAfterBlur()
|
| }
|
|
|
| VisibleSelection empty;
|
| - spellCheckOldSelection(m_frame.selection().selection(), empty, empty);
|
| + spellCheckOldSelection(m_frame.selection().selection(), empty);
|
| }
|
|
|
| -void SpellChecker::spellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWords, const VisibleSelection& newSelectedSentence)
|
| +void SpellChecker::spellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWords)
|
| {
|
| VisiblePosition oldStart(oldSelection.visibleStart());
|
| VisibleSelection oldAdjacentWords = VisibleSelection(startOfWord(oldStart, LeftWordIfOnBoundary), endOfWord(oldStart, RightWordIfOnBoundary));
|
|
|