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 2e6bca4a4142d181ebdb67fe2f25ecbbe5d828e8..9de2e33c4cdb07bcd7acf847c6b86cbd3bc5c7a2 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 |
@@ -247,9 +247,7 @@ base::File::Error GetFileStreamOnBlockingPoolThread( |
base::win::ScopedComPtr<IStream> file_stream; |
if (file_info.size > 0) { |
HRESULT hr = media_transfer_protocol::GetFileStreamForObject( |
- device, |
- file_object_id, |
- file_stream.Receive(), |
+ device, file_object_id, file_stream.GetAddressOf(), |
&optimal_transfer_size); |
if (hr != S_OK) |
return base::File::FILE_ERROR_FAILED; |