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 a2cb33e34b41773dc5314d8513a3fdf0c489fa0c..9d6abec2412dad69633f8b341a252f00fcfc7bbe 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/suggestion/TextSuggestionBackendImpl.h" |
#include "core/exported/WebSharedWorkerImpl.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/Settings.h" |
@@ -137,6 +138,8 @@ void ModulesInitializer::InitLocalFrame(LocalFrame& frame) const { |
// frame()->document(). |
frame.GetInterfaceRegistry()->AddInterface(WTF::Bind( |
&AppBannerController::BindMojoRequest, WrapWeakPersistent(&frame))); |
+ frame.GetInterfaceRegistry()->AddInterface(WTF::Bind( |
+ &TextSuggestionBackendImpl::Create, WrapWeakPersistent(&frame))); |
} |
void ModulesInitializer::InstallSupplements(LocalFrame& frame) const { |