| 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 cb18baab752c2bf0e892b9e58210b55588075394..7417544fbd55309f90598fd83cc6b2853def8b94 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -1746,13 +1746,13 @@ DispatchEventResult dispatchBeforeInputInsertText(EventTarget* target, const Str
|
| return target->dispatchEvent(beforeInputEvent);
|
| }
|
|
|
| -DispatchEventResult dispatchBeforeInputFromComposition(EventTarget* target, InputEvent::InputType inputType, const String& data)
|
| +DispatchEventResult dispatchBeforeInputFromComposition(EventTarget* target, InputEvent::InputType inputType, const String& data, InputEvent::EventCancelable cancelable)
|
| {
|
| if (!RuntimeEnabledFeatures::inputEventEnabled())
|
| return DispatchEventResult::NotCanceled;
|
| if (!target)
|
| return DispatchEventResult::NotCanceled;
|
| - InputEvent* beforeInputEvent = InputEvent::createBeforeInput(inputType, data, InputEvent::EventCancelable::NotCancelable, InputEvent::EventIsComposing::IsComposing);
|
| + InputEvent* beforeInputEvent = InputEvent::createBeforeInput(inputType, data, cancelable, InputEvent::EventIsComposing::IsComposing);
|
| return target->dispatchEvent(beforeInputEvent);
|
| }
|
|
|
|
|