Index: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc |
diff --git a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc |
index 338ffe009fa4a82b1166b6d55c40198c37fdff5c..2e6bca4a4142d181ebdb67fe2f25ecbbe5d828e8 100644 |
--- a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc |
+++ b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc |
@@ -141,10 +141,10 @@ bool OpenDeviceOnBlockingPoolThread( |
DCHECK(!registered_device_path.empty()); |
base::win::ScopedComPtr<IPortableDevice> device = |
media_transfer_protocol::OpenDevice(pnp_device_id); |
- bool init_succeeded = device.get() != NULL; |
+ bool init_succeeded = device.Get() != NULL; |
if (init_succeeded) { |
PortableDeviceMapService::GetInstance()->AddPortableDevice( |
- registered_device_path, device.get()); |
+ registered_device_path, device.Get()); |
} |
return init_succeeded; |
} |
@@ -266,7 +266,7 @@ base::File::Error GetFileStreamOnBlockingPoolThread( |
DCHECK(file_info.size == 0 || optimal_transfer_size > 0U); |
file_details->set_file_info(file_info); |
- file_details->set_device_file_stream(file_stream.get()); |
+ file_details->set_device_file_stream(file_stream.Get()); |
file_details->set_optimal_transfer_size(optimal_transfer_size); |
return error; |
} |