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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 Created 3 years, 7 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
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;

Powered by Google App Engine
This is Rietveld 408576698