| Index: chrome/browser/ui/ash/ime_driver_ash.cc
|
| diff --git a/chrome/browser/ui/ash/ime_driver_ash.cc b/chrome/browser/ui/ash/ime_driver_ash.cc
|
| index 2366dff5c2107c77d4f7fc63fbe1027eabd6a76f..5be3f00aa09d54d3f63af0feba51282ea3222208 100644
|
| --- a/chrome/browser/ui/ash/ime_driver_ash.cc
|
| +++ b/chrome/browser/ui/ash/ime_driver_ash.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/ui/ash/ime_driver_ash.h"
|
|
|
| -#include "services/ui/public/interfaces/ime.mojom.h"
|
| +#include "services/ui/public/interfaces/ime/ime.mojom.h"
|
|
|
| namespace {
|
|
|
| @@ -26,11 +26,7 @@ class InputMethod : public ui::mojom::InputMethod {
|
| DCHECK(key_event->IsKeyEvent());
|
|
|
| if (key_event->AsKeyEvent()->is_char()) {
|
| - ui::mojom::CompositionEventPtr composition_event =
|
| - ui::mojom::CompositionEvent::New();
|
| - composition_event->type = ui::mojom::CompositionEventType::INSERT_CHAR;
|
| - composition_event->key_event = std::move(key_event);
|
| - client_->OnCompositionEvent(std::move(composition_event));
|
| + client_->InsertChar(std::move(key_event));
|
| callback.Run(true);
|
| } else {
|
| callback.Run(false);
|
|
|