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 d16bb3bf538ce75ca2ab480e3d9793fb41caa1eb..5878180ae16a4662195f58f2e417b14557f21ec0 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -28,6 +28,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" |
@@ -1308,6 +1309,9 @@ void RenderFrameHostImpl::RegisterMojoServices() { |
base::Bind(&PermissionServiceContext::CreateService, |
base::Unretained(permission_service_context_.get()))); |
+ GetServiceRegistry()->AddService<presentation::PresentationService>( |
+ base::Bind(&PresentationServiceImpl::CreateMojoService)); |
+ |
#if defined(ENABLE_MEDIA_MOJO_RENDERER) |
GetServiceRegistry()->AddService<mojo::MediaRenderer>( |
base::Bind(&CreateMediaRendererService)); |