Index: device/usb/usb_device_handle_impl.h |
diff --git a/device/usb/usb_device_handle_impl.h b/device/usb/usb_device_handle_impl.h |
index 4e619d250191b08cdcf850e156eace24ff657e0d..688f8b9cf8db090b15be22aae83bfb32d293bb6c 100644 |
--- a/device/usb/usb_device_handle_impl.h |
+++ b/device/usb/usb_device_handle_impl.h |
@@ -86,7 +86,7 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle { |
// This constructor is called by UsbDevice. |
UsbDeviceHandleImpl(scoped_refptr<UsbContext> context, |
- UsbDeviceImpl* device, |
+ scoped_refptr<UsbDeviceImpl> device, |
PlatformUsbDeviceHandle handle); |
~UsbDeviceHandleImpl() override; |
@@ -126,7 +126,7 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle { |
// Informs the object to drop internal references. |
void InternalClose(); |
- UsbDeviceImpl* device_; |
+ scoped_refptr<UsbDeviceImpl> device_; |
PlatformUsbDeviceHandle handle_; |