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

Unified Diff: media/audio/win/audio_device_listener_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
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_device_listener_win.cc
diff --git a/media/audio/win/audio_device_listener_win.cc b/media/audio/win/audio_device_listener_win.cc
index 2c2ecacb43202b0939bf3d414b312538fee12715..fb5503d108722166591fffc1010e1dfd9f347002 100644
--- a/media/audio/win/audio_device_listener_win.cc
+++ b/media/audio/win/audio_device_listener_win.cc
@@ -37,7 +37,7 @@ AudioDeviceListenerWin::AudioDeviceListenerWin(const base::Closure& listener_cb)
// as "Windows Server 2008 R2" where the desktop experience isn't available.
ScopedComPtr<IMMDeviceEnumerator> device_enumerator(
CoreAudioUtil::CreateDeviceEnumerator());
- if (!device_enumerator.get())
+ if (!device_enumerator.Get())
return;
HRESULT hr = device_enumerator->RegisterEndpointNotificationCallback(this);
@@ -52,7 +52,7 @@ AudioDeviceListenerWin::AudioDeviceListenerWin(const base::Closure& listener_cb)
AudioDeviceListenerWin::~AudioDeviceListenerWin() {
DCHECK(thread_checker_.CalledOnValidThread());
- if (device_enumerator_.get()) {
+ if (device_enumerator_.Get()) {
HRESULT hr =
device_enumerator_->UnregisterEndpointNotificationCallback(this);
LOG_IF(ERROR, FAILED(hr)) << "UnregisterEndpointNotificationCallback() "
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698