Index: third_party/WebKit/Source/core/editing/Editor.cpp |
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp |
index 5efc5bcf7949a6193a97d76ec996b9d7fcbbc6fa..82c5ec59cc9ff9a7ed05e9cffa536599ce68b434 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.cpp |
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp |
@@ -714,7 +714,7 @@ void Editor::requestSpellcheckingAfterApplyingCommand(CompositeEditCommand* cmd) |
const EphemeralRange& insertedRange = toReplaceSelectionCommand(cmd)->insertedRange(); |
if (insertedRange.isNull()) |
return; |
- spellChecker().chunkAndMarkAllMisspellings(cmd->endingSelection().rootEditableElement(), insertedRange); |
+ spellChecker().chunkAndMarkAllMisspellingsAndBadGrammar(cmd->endingSelection().rootEditableElement(), insertedRange); |
} |
void Editor::appliedEditing(CompositeEditCommand* cmd) |