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

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

Issue 419323002: clang/win: Fix a few warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « chrome/test/nacl/nacl_browsertest.cc ('k') | no next file » | 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 ecf838748677b58bc8ecc95484144e6434522d00..b0eba59bd7ec3fc98b509cdee8bf4a62a1cd4704 100644
--- a/media/audio/win/audio_device_listener_win.cc
+++ b/media/audio/win/audio_device_listener_win.cc
@@ -146,12 +146,12 @@ STDMETHODIMP AudioDeviceListenerWin::OnDefaultDeviceChanged(
// Grab a pointer to the appropriate ID member.
// Note that there are three "?:"'s here to select the right ID.
std::string* current_device_id =
- role == eRender ? (
- flow == eConsole ?
+ role == eConsole ? (
tommi (sloooow) - chröme 2014/07/28 22:48:38 ehm, thanks for fixing this. Sadly (mea culpa) I'm
+ flow == eRender ?
&default_render_device_id_ :
&default_communications_render_device_id_
) : (
- flow == eConsole ?
+ flow == eRender ?
&default_capture_device_id_ :
&default_communications_capture_device_id_
);
« no previous file with comments | « chrome/test/nacl/nacl_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698