Index: third_party/WebKit/Source/modules/ModulesInitializer.cpp |
diff --git a/third_party/WebKit/Source/modules/ModulesInitializer.cpp b/third_party/WebKit/Source/modules/ModulesInitializer.cpp |
index 2ada34dcf43424a6132ef466f3b2ce57ef1ee3f0..ef9b1cce7accfd383175dae88724bc84f9ae2493 100644 |
--- a/third_party/WebKit/Source/modules/ModulesInitializer.cpp |
+++ b/third_party/WebKit/Source/modules/ModulesInitializer.cpp |
@@ -8,6 +8,7 @@ |
#include "core/EventTypeNames.h" |
#include "core/css/CSSPaintImageGenerator.h" |
#include "core/dom/Document.h" |
+#include "core/editing/TextSuggestionBackendImpl.h" |
#include "core/frame/LocalFrame.h" |
#include "core/html/HTMLCanvasElement.h" |
#include "core/html/HTMLMediaElement.h" |
@@ -95,6 +96,8 @@ void ModulesInitializer::Initialize() { |
// frame()->document(). |
frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
&AppBannerController::BindMojoRequest, WrapWeakPersistent(frame))); |
+ frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
+ &TextSuggestionBackendImpl::Create, WrapWeakPersistent(frame))); |
}); |
HTMLMediaElement::RegisterMediaControlsFactory( |