| Index: third_party/WebKit/Source/modules/vr/VRController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| index a11b23eb95555747a65c3282bc9dbc7ff62c87dc..bc92c33ec8f19e1640dee2cab9506620a542cbe6 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "modules/vr/NavigatorVR.h"
|
| #include "modules/vr/VRGetDevicesCallback.h"
|
| -#include "public/platform/ServiceRegistry.h"
|
| +#include "public/platform/InterfaceProvider.h"
|
|
|
| #include "wtf/Assertions.h"
|
|
|
| @@ -20,7 +20,7 @@ VRController::VRController(NavigatorVR* navigatorVR)
|
| , m_navigatorVR(navigatorVR)
|
| , m_binding(this)
|
| {
|
| - navigatorVR->document()->frame()->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&m_service));
|
| + navigatorVR->document()->frame()->interfaceProvider()->getInterface(mojo::GetProxy(&m_service));
|
| m_service->SetClient(m_binding.CreateInterfacePtrAndBind());
|
| }
|
|
|
|
|