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 d5b29eb0eae50c49ca9eaba8b818c7405e49be4f..6d7b17cadcef8899cb9e52a17e94c11b4aae539b 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/html/HTMLCanvasElement.h" |
@@ -101,6 +102,8 @@ void ModulesInitializer::Initialize() { |
// frame()->document(). |
frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
&AppBannerController::BindMojoRequest, WrapWeakPersistent(frame))); |
+ frame->GetInterfaceRegistry()->AddInterface(WTF::Bind( |
+ &TextSuggestionBackendImpl::Create, WrapWeakPersistent(frame))); |
}); |
// WebSharedWorkerImpl callbacks for modules initialization. |