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

Unified Diff: device/usb/usb_device_handle_impl.cc

Issue 536623003: Fixups in components/ for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « components/pdf/renderer/ppb_pdf_impl.cc ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_handle_impl.cc
diff --git a/device/usb/usb_device_handle_impl.cc b/device/usb/usb_device_handle_impl.cc
index c9d69a4c42c7749f73ccf14b1cf37828a8163d4f..c88fb9bc5f5bc6499a33e7e312938610ff067a5f 100644
--- a/device/usb/usb_device_handle_impl.cc
+++ b/device/usb/usb_device_handle_impl.cc
@@ -564,8 +564,11 @@ void UsbDeviceHandleImpl::ControlTransfer(
this,
timeout);
- PostOrSubmitTransfer(
- transfer, USB_TRANSFER_CONTROL, resized_buffer, resized_length, callback);
+ PostOrSubmitTransfer(transfer,
+ USB_TRANSFER_CONTROL,
+ resized_buffer.get(),
+ resized_length,
+ callback);
}
void UsbDeviceHandleImpl::BulkTransfer(const UsbEndpointDirection direction,
« no previous file with comments | « components/pdf/renderer/ppb_pdf_impl.cc ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698