| Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| index 0c5d56e4064f3fc603f625b50c4c233d7bb2e2a9..d64f633de426e353d48ede5f3abcaee21cc41437 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -1867,8 +1867,6 @@ DispatchEventResult dispatchBeforeInputInsertText(EventTarget* target, const Str
|
| return DispatchEventResult::NotCanceled;
|
| if (!target)
|
| return DispatchEventResult::NotCanceled;
|
| - // TODO(chongz): Pass appreciate |ranges| after it's defined on spec.
|
| - // http://w3c.github.io/editing/input-events.html#dom-inputevent-inputtype
|
| InputEvent* beforeInputEvent = InputEvent::createBeforeInput(InputEvent::InputType::InsertText, data, InputEvent::EventCancelable::IsCancelable, InputEvent::EventIsComposing::NotComposing, nullptr);
|
| return target->dispatchEvent(beforeInputEvent);
|
| }
|
| @@ -1879,7 +1877,7 @@ DispatchEventResult dispatchBeforeInputFromComposition(EventTarget* target, Inpu
|
| return DispatchEventResult::NotCanceled;
|
| if (!target)
|
| return DispatchEventResult::NotCanceled;
|
| - // TODO(chongz): Pass appreciate |ranges| after it's defined on spec.
|
| + // TODO(chongz): Pass appreciate |ranges| after it's defined on spec. e.g. For |DeleteComposedCharacterBackward|.
|
| // http://w3c.github.io/editing/input-events.html#dom-inputevent-inputtype
|
| InputEvent* beforeInputEvent = InputEvent::createBeforeInput(inputType, data, cancelable, InputEvent::EventIsComposing::IsComposing, nullptr);
|
| return target->dispatchEvent(beforeInputEvent);
|
|
|