Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Unified Diff: third_party/WebKit/Source/modules/vr/VRController.cpp

Issue 2196843003: Blink ServiceRegistry -> InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698