| 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 8c1574d2f6b1515b416dc1e438d534daa00fa57d..2954891283900e17fad5cad4257946cc1f26294c 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1257,18 +1257,16 @@ bool Editor::canUndo() {
|
| return m_undoStack->canUndo();
|
| }
|
|
|
| -// TODO(chongz): Fire 'beforeinput' for user triggered undo.
|
| -void Editor::undo(EditCommandSource) {
|
| - m_undoStack->undo();
|
| +void Editor::undo(EditCommandSource source) {
|
| + m_undoStack->undo(source);
|
| }
|
|
|
| bool Editor::canRedo() {
|
| return m_undoStack->canRedo();
|
| }
|
|
|
| -// TODO(chongz): Fire 'beforeinput' for user triggered redo.
|
| -void Editor::redo(EditCommandSource) {
|
| - m_undoStack->redo();
|
| +void Editor::redo(EditCommandSource source) {
|
| + m_undoStack->redo(source);
|
| }
|
|
|
| void Editor::setBaseWritingDirection(WritingDirection direction) {
|
|
|