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

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

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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 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;
}

Powered by Google App Engine
This is Rietveld 408576698