| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 90e2efa7b28ad40920d83754ff273ea0deffa1ff..16d2ef733cd0a487f386a41d5d6abf794292bec3 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -44,6 +44,7 @@
|
| #include "core/dom/UserGestureIndicator.h"
|
| #include "core/dom/custom/CustomElementRegistry.h"
|
| #include "core/editing/Editor.h"
|
| +#include "core/editing/InputMethodController.h"
|
| #include "core/events/DOMWindowEventQueue.h"
|
| #include "core/events/HashChangeEvent.h"
|
| #include "core/events/MessageEvent.h"
|
| @@ -277,7 +278,8 @@ LocalDOMWindow::LocalDOMWindow(LocalFrame& frame)
|
| this,
|
| &LocalDOMWindow::WarnUnusedPreloads),
|
| should_print_when_finished_loading_(false),
|
| - custom_elements_(this, nullptr) {}
|
| + custom_elements_(this, nullptr),
|
| + input_method_controller_(InputMethodController::Create(frame)) {}
|
|
|
| void LocalDOMWindow::ClearDocument() {
|
| if (!document_)
|
| @@ -1662,6 +1664,7 @@ DEFINE_TRACE(LocalDOMWindow) {
|
| visitor->Trace(post_message_timers_);
|
| visitor->Trace(view_);
|
| visitor->Trace(event_listener_observers_);
|
| + visitor->Trace(input_method_controller_);
|
| DOMWindow::Trace(visitor);
|
| Supplementable<LocalDOMWindow>::Trace(visitor);
|
| }
|
|
|