| 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;
|
| }
|
|
|