Index: components/test_runner/text_input_controller.cc |
diff --git a/components/test_runner/text_input_controller.cc b/components/test_runner/text_input_controller.cc |
index d1d6c03afc5d2a77f27d08ec4d9bf0f741aff3a0..4c2786401b55e4f0adc8fcc38710dc5c90bb9933 100644 |
--- a/components/test_runner/text_input_controller.cc |
+++ b/components/test_runner/text_input_controller.cc |
@@ -11,7 +11,7 @@ |
#include "gin/handle.h" |
#include "gin/object_template_builder.h" |
#include "gin/wrappable.h" |
-#include "third_party/WebKit/public/platform/WebInputEvent.h" |
+#include "third_party/WebKit/public/platform/CoalescedWebInputEvent.h" |
#include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
#include "third_party/WebKit/public/web/WebFrameWidget.h" |
#include "third_party/WebKit/public/web/WebInputMethodController.h" |
@@ -291,7 +291,7 @@ void TextInputController::SetComposition(const std::string& text) { |
key_down.type = blink::WebInputEvent::RawKeyDown; |
key_down.modifiers = 0; |
key_down.windowsKeyCode = 0xE5; // VKEY_PROCESSKEY |
- view()->handleInputEvent(key_down); |
+ view()->handleInputEvent(CoalescedWebInputEvent(key_down)); |
// The value returned by std::string::length() may not correspond to the |
// actual number of encoded characters in sequences of multi-byte or |