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 d13729ae6e1f5b998915f9519aafa007dc31d5e4..2ff0e37f5b915d9f3f88d741851056f90ad31ebd 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/WebLocalFrameBase.h" |
@@ -116,6 +117,8 @@ void ModulesInitializer::Initialize() { |
// frame()->document(). |
frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
&AppBannerController::BindMojoRequest, WrapWeakPersistent(frame))); |
+ frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
+ &TextSuggestionBackendImpl::Create, WrapWeakPersistent(frame))); |
}); |
// Supplements installed on a frame using ChromeClient |