| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| index 8a12f1e3019bf3f1dbc5a96bfa9ca025ee641d00..31287ba8d8bf9f7244759fa515cf1a950ef1734f 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| @@ -227,6 +227,11 @@ void InsertListCommand::doApply(EditingState* editingState)
|
| doApplyForSingleParagraph(false, listTag, *firstRangeOf(endingSelection()), editingState);
|
| }
|
|
|
| +InputEvent::InputType InsertListCommand::inputType() const
|
| +{
|
| + return m_type == OrderedList ? InputEvent::InputType::InsertOrderedList : InputEvent::InputType::InsertUnorderedList;
|
| +}
|
| +
|
| bool InsertListCommand::doApplyForSingleParagraph(bool forceCreateList, const HTMLQualifiedName& listTag, Range& currentSelection, EditingState* editingState)
|
| {
|
| // FIXME: This will produce unexpected results for a selection that starts just before a
|
|
|