Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 9c925b2e5566093604c6d68803ce8276a347fc60..a4296af4b60fc019992144935c3dc7df655d9d95 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -159,6 +159,7 @@ |
#include "core/timing/DOMWindowPerformance.h" |
#include "core/timing/Performance.h" |
#include "modules/app_banner/AppBannerController.h" |
+#include "modules/document_metadata/CopylessPasteServer.h" |
#include "modules/installation/InstallationServiceImpl.h" |
#include "platform/ScriptForbiddenScope.h" |
#include "platform/UserGestureIndicator.h" |
@@ -1636,6 +1637,9 @@ void WebLocalFrameImpl::initializeCoreFrame(Page& page, |
frame()->interfaceRegistry()->addInterface(WTF::bind( |
&InstallationServiceImpl::create, wrapWeakPersistent(frame()))); |
+ |
+ frame()->interfaceRegistry()->addInterface(WTF::bind( |
+ &CopylessPasteServer::bindMojoRequest, wrapWeakPersistent(frame()))); |
if (!owner) { |
// This trace event is needed to detect the main frame of the |
// renderer in telemetry metrics. See crbug.com/692112#c11. |