| 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 248dfca935316916b2151ec98532b2a1a4e1e3fb..5580120d035e1584143e3d28ef2aea646e356230 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -861,7 +861,7 @@ void Editor::unappliedEditing(EditCommandComposition* cmd) {
|
| cmd->endingRootEditableElement());
|
| dispatchInputEventEditableContentChanged(
|
| cmd->startingRootEditableElement(), cmd->endingRootEditableElement(),
|
| - InputEvent::InputType::Undo, nullAtom,
|
| + InputEvent::InputType::HistoryUndo, nullAtom,
|
| InputEvent::EventIsComposing::NotComposing);
|
|
|
| // TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| @@ -890,7 +890,7 @@ void Editor::reappliedEditing(EditCommandComposition* cmd) {
|
| cmd->endingRootEditableElement());
|
| dispatchInputEventEditableContentChanged(
|
| cmd->startingRootEditableElement(), cmd->endingRootEditableElement(),
|
| - InputEvent::InputType::Redo, nullAtom,
|
| + InputEvent::InputType::HistoryRedo, nullAtom,
|
| InputEvent::EventIsComposing::NotComposing);
|
|
|
| // TODO(yosin): Since |dispatchEditableContentChangedEvents()| and
|
| @@ -1252,8 +1252,8 @@ void Editor::setBaseWritingDirection(WritingDirection direction) {
|
| ? "ltr"
|
| : direction == RightToLeftWritingDirection ? "rtl" : "inherit",
|
| false);
|
| - applyParagraphStyleToSelection(style,
|
| - InputEvent::InputType::SetWritingDirection);
|
| + applyParagraphStyleToSelection(
|
| + style, InputEvent::InputType::FormatSetBlockTextDirection);
|
| }
|
|
|
| void Editor::revealSelectionAfterEditingOperation(
|
|
|