| 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 fc8f881233c7c21540dd172b012f349727725767..3a2d0933a0c2c9c38f94ca445127f5df6990309f 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -125,8 +125,6 @@
|
| #include "content/browser/frame_host/popup_menu_helper_mac.h"
|
| #endif
|
|
|
| -#include "device/vr/vr_service_impl.h" // nogncheck
|
| -
|
| using base::TimeDelta;
|
|
|
| namespace content {
|
| @@ -237,11 +235,6 @@ class RemoterFactoryImpl final : public media::mojom::RemoterFactory {
|
| };
|
| #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
|
|
|
| -template <typename Interface>
|
| -void IgnoreInterfaceRequest(mojo::InterfaceRequest<Interface> request) {
|
| - // Intentionally ignore the interface request.
|
| -}
|
| -
|
| } // namespace
|
|
|
| // static
|
| @@ -2309,14 +2302,6 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
|
| process_->GetID(),
|
| routing_id_));
|
|
|
| -#if defined(ENABLE_WEBVR)
|
| - GetInterfaceRegistry()->AddInterface<device::mojom::VRService>(
|
| - base::Bind(&device::VRServiceImpl::Create));
|
| -#else
|
| - GetInterfaceRegistry()->AddInterface<device::mojom::VRService>(
|
| - base::Bind(&IgnoreInterfaceRequest<device::mojom::VRService>));
|
| -#endif
|
| -
|
| if (base::FeatureList::IsEnabled(features::kGenericSensor)) {
|
| GetInterfaceRegistry()->AddInterface(
|
| base::Bind(&device::SensorProviderImpl::Create,
|
|
|