| 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 09d1f1198bc983d993fdb14b44645f0cfb03ec1f..722a23ee50dae3e403b400f92d1497e5928cd6d9 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -32,6 +32,7 @@
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_base.h"
|
| +#include "content/browser/screen_orientation/screen_orientation_service_impl.h"
|
| #include "content/browser/transition_request_manager.h"
|
| #include "content/common/accessibility_messages.h"
|
| #include "content/common/desktop_notification_messages.h"
|
| @@ -188,6 +189,11 @@ RenderFrameHostImpl::RenderFrameHostImpl(RenderViewHostImpl* render_view_host,
|
| this));
|
|
|
| if (GetProcess()->GetServiceRegistry()) {
|
| + // TODO(blundell): Should this be at the beginning like this?
|
| + GetServiceRegistry()->AddService<ScreenOrientationService>(
|
| + base::Bind(&ScreenOrientationServiceImpl::Create,
|
| + base::Unretained(delegate_->GetAsWebContents())));
|
| +
|
| RenderFrameSetupPtr setup;
|
| GetProcess()->GetServiceRegistry()->ConnectToRemoteService(&setup);
|
| mojo::ServiceProviderPtr service_provider;
|
|
|