Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
index 1badfdaa00f9e0f51047d330ce338a8477a2cf8d..57b44dda9ba71ca5029b0253e1670ce9aafbbf83 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
@@ -338,7 +338,7 @@ void SpellChecker::markMisspellingsAfterApplyingCommand(const CompositeEditComma |
// Note: Request spell checking for and only for |ReplaceSelectionCommand|s |
// created in |Editor::replaceSelectionWithFragment()|. |
// TODO(xiaochengh): May also need to do this after dragging crbug.com/298046. |
- if (cmd.inputType() != InputEvent::InputType::Paste) |
+ if (cmd.inputType() != InputEvent::InputType::InsertFromPaste) |
return; |
markMisspellingsAfterReplaceSelectionCommand(toReplaceSelectionCommand(cmd)); |