| Index: third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
|
| index 3b106ceba3650c104d0a449ab02ff6dc54518adb..1b992a37c1e90aebdd5cbfffbb47f867963f2882 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/HotModeSpellCheckRequester.cpp
|
| @@ -100,9 +100,9 @@ void HotModeSpellCheckRequester::checkSpellingAt(const Position& position) {
|
| if (!shouldCheckRootEditableInHotMode(*rootEditable, position))
|
| return;
|
|
|
| - SpellCheckRequest* request = SpellCheckRequest::create(
|
| - calculateHotModeCheckingRange(*rootEditable, position));
|
| - m_requester->requestCheckingFor(request);
|
| + const EphemeralRange& checkingRange =
|
| + calculateHotModeCheckingRange(*rootEditable, position);
|
| + m_requester->requestCheckingFor(checkingRange);
|
| }
|
|
|
| } // namespace blink
|
|
|