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

Unified Diff: media/audio/win/core_audio_util_win.cc

Issue 2792383003: Rename ScopedComPtr::Release() to ScopedComPtr::Reset() (Closed)
Patch Set: Fix New Callers 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
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/capture/video/win/pin_base_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/core_audio_util_win.cc
diff --git a/media/audio/win/core_audio_util_win.cc b/media/audio/win/core_audio_util_win.cc
index 846bd2753f651d94e7e6093c708b724679a5dd37..a26841bcf9a9cfaef0d407a343d6fe4b5b88ddeb 100644
--- a/media/audio/win/core_audio_util_win.cc
+++ b/media/audio/win/core_audio_util_win.cc
@@ -305,7 +305,7 @@ ScopedComPtr<IMMDevice> CoreAudioUtil::CreateDefaultDevice(EDataFlow data_flow,
// adapter that connects to the endpoint device is present and enabled.
if (!IsDeviceActive(endpoint_device.get())) {
DVLOG(1) << "Selected endpoint device is not active";
- endpoint_device.Release();
+ endpoint_device.Reset();
}
return endpoint_device;
}
@@ -341,7 +341,7 @@ ScopedComPtr<IMMDevice> CoreAudioUtil::CreateDevice(
// adapter that connects to the endpoint device is present and enabled.
if (!IsDeviceActive(endpoint_device.get())) {
DVLOG(1) << "Selected endpoint device is not active";
- endpoint_device.Release();
+ endpoint_device.Reset();
}
return endpoint_device;
}
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/capture/video/win/pin_base_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698