Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 75654d2822d81030745104737bd04d316b615cdb..cc740dad338149a207b9b493f652d5b923b7128e 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -54,6 +54,7 @@ |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_view_base.h" |
#include "content/browser/shared_worker/shared_worker_service_impl.h" |
+#include "content/browser/webshare/share_service_impl.h" |
#include "content/browser/websockets/websocket_manager.h" |
#include "content/browser/webui/web_ui_controller_factory_registry.h" |
#include "content/common/accessibility_messages.h" |
@@ -2293,6 +2294,8 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() { |
GetContentClient()->browser()->RegisterRenderFrameMojoInterfaces( |
GetInterfaceRegistry(), this); |
+ |
+ GetInterfaceRegistry()->AddInterface(base::Bind(&ShareServiceImpl::Create)); |
} |
void RenderFrameHostImpl::ResetWaitingState() { |