Index: device/devices_app/usb/device_manager_impl.cc |
diff --git a/device/devices_app/usb/device_manager_impl.cc b/device/devices_app/usb/device_manager_impl.cc |
index 333df78bdb27cdd050b3dee24220d67746c1da15..0fc287da2196a2b32be50e1a52b76852d27d202a 100644 |
--- a/device/devices_app/usb/device_manager_impl.cc |
+++ b/device/devices_app/usb/device_manager_impl.cc |
@@ -204,7 +204,9 @@ void DeviceManagerImpl::OnGetDevicePermissionCheckComplete( |
return; |
DCHECK(allowed_guids.size() == 1); |
- new DeviceImpl(device, device_request.Pass()); |
+ PermissionProviderPtr permission_provider; |
+ permission_provider_->Bind(mojo::GetProxy(&permission_provider)); |
+ new DeviceImpl(device, permission_provider.Pass(), device_request.Pass()); |
} |
void DeviceManagerImpl::OnGetDevices(EnumerationOptionsPtr options, |