Index: Source/core/editing/spellcheck/SpellChecker.cpp |
diff --git a/Source/core/editing/spellcheck/SpellChecker.cpp b/Source/core/editing/spellcheck/SpellChecker.cpp |
index 10aa296a26fe40d35e43bc933a038269fe0c9895..2c3736e5cd4ba270de4214837341a31cb2e997e3 100644 |
--- a/Source/core/editing/spellcheck/SpellChecker.cpp |
+++ b/Source/core/editing/spellcheck/SpellChecker.cpp |
@@ -507,7 +507,7 @@ void SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar(Node* node) |
void SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheckingOptions, const TextCheckingParagraph& fullParagraphToCheck, bool asynchronous) |
{ |
- if (fullParagraphToCheck.isRangeEmpty() || fullParagraphToCheck.isEmpty()) |
+ if (fullParagraphToCheck.isEmpty()) |
return; |
// Since the text may be quite big chunk it up and adjust to the sentence boundary. |