Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
index 5c5f415d3187d909368a021d2ec52ab3580b5816..fa0e7992a139a63208febe7aba79d2f1fb557839 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
@@ -108,6 +108,8 @@ WebEditingCommandType WebEditingCommandTypeFromCommandName(const String& command |
InputEvent::InputType InputTypeFromCommandType(WebEditingCommandType commandType) |
{ |
switch (commandType) { |
+ case WebEditingCommandType::Bold: |
+ return InputEvent::InputType::Bold; |
case WebEditingCommandType::Delete: |
case WebEditingCommandType::DeleteBackward: |
case WebEditingCommandType::DeleteBackwardByDecomposingPreviousCharacter: |