| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| index e5a0bffe106ab588d0d9ff50f274dbbce1c0bfcf..a6e24d5fa5445b4fd9b4ba90995e3e3fa62a5d9f 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| @@ -217,14 +217,15 @@ void SpellCheckRequester::enqueueRequest(SpellCheckRequest* request) {
|
| bool continuation = false;
|
| if (!m_requestQueue.isEmpty()) {
|
| SpellCheckRequest* lastRequest = m_requestQueue.last();
|
| - // It's a continuation if the number of the last request got incremented in the new one and
|
| - // both apply to the same editable.
|
| + // It's a continuation if the number of the last request got incremented in
|
| + // the new one and both apply to the same editable.
|
| continuation =
|
| request->rootEditableElement() == lastRequest->rootEditableElement() &&
|
| request->requestNumber() == lastRequest->requestNumber() + 1;
|
| }
|
|
|
| - // Spellcheck requests for chunks of text in the same element should not overwrite each other.
|
| + // Spellcheck requests for chunks of text in the same element should not
|
| + // overwrite each other.
|
| if (!continuation) {
|
| for (auto& requestQueue : m_requestQueue) {
|
| if (request->rootEditableElement() != requestQueue->rootEditableElement())
|
|
|