Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 5aed77678c39a1043d68ca080963acf06148d014..1322dcc2384687625b08dcc539cbd4d11d0d9cf2 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -3860,9 +3860,7 @@ blink::WebBluetooth* RenderFrameImpl::bluetooth() { |
blink::WebUSBClient* RenderFrameImpl::usbClient() { |
#if !defined(OS_ANDROID) |
if (!usb_client_) { |
- mojo::ServiceProviderPtr device_services = |
- ConnectToApplication(GURL(device::kDevicesMojoAppUrl)); |
- usb_client_.reset(new WebUSBClientImpl(device_services.Pass())); |
+ usb_client_.reset(new WebUSBClientImpl(GetServiceRegistry())); |
} |
#endif |
return usb_client_.get(); |