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 af0c6fcc9a43af5997fc99815ca11e7f44696bee..c7a127ecf7a372123e9f8ff383324f17f9279661 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -27,6 +27,7 @@ |
#include "content/browser/geolocation/geolocation_service_context.h" |
#include "content/browser/permissions/permission_service_context.h" |
#include "content/browser/permissions/permission_service_impl.h" |
+#include "content/browser/presentation/presentation_service_impl.h" |
#include "content/browser/renderer_host/input/input_router.h" |
#include "content/browser/renderer_host/input/timeout_monitor.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
@@ -1175,6 +1176,9 @@ void RenderFrameHostImpl::RegisterMojoServices() { |
GetServiceRegistry()->AddService<PermissionService>( |
base::Bind(&PermissionServiceContext::CreateService, |
base::Unretained(permission_service_context_.get()))); |
+ |
+ GetServiceRegistry()->AddService<presentation::PresentationService>( |
+ base::Bind(&PresentationServiceImpl::CreateService)); |
} |
void RenderFrameHostImpl::SetState(RenderFrameHostImplState rfh_state) { |