| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index cc5be9e9394dd98dd44c97a4300cc0809da1ecc8..6567d99828d48c3a25eb97dfb1a5ad1fb2d1ba0f 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -108,6 +108,7 @@
|
| #include "core/editing/DragCaretController.h"
|
| #include "core/editing/Editor.h"
|
| #include "core/editing/FrameSelection.h"
|
| +#include "core/editing/InputMethodController.h"
|
| #include "core/editing/markers/DocumentMarkerController.h"
|
| #include "core/editing/serializers/Serialization.h"
|
| #include "core/editing/spellcheck/SpellChecker.h"
|
| @@ -2179,6 +2180,8 @@ void Document::detach(const AttachContext& context)
|
|
|
| frameHost()->eventHandlerRegistry().documentDetached(*this);
|
|
|
| + m_frame->inputMethodController().documentDetached();
|
| +
|
| // If this Document is associated with a live DocumentLoader, the
|
| // DocumentLoader will take care of clearing the FetchContext. Deferring
|
| // to the DocumentLoader when possible also prevents prematurely clearing
|
|
|