From 024ba86f68db4e7de915b539eb60f77e665c072c Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 5 Dec 2012 19:34:17 -0800 Subject: [PATCH] Bustage fix for bug 805333. a=bustage --- dom/audiochannel/AudioChannelService.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dom/audiochannel/AudioChannelService.cpp b/dom/audiochannel/AudioChannelService.cpp index a428314814f..d519bf051e8 100644 --- a/dom/audiochannel/AudioChannelService.cpp +++ b/dom/audiochannel/AudioChannelService.cpp @@ -145,6 +145,10 @@ AudioChannelService::GetMuted(AudioChannelType aType, bool aElementHidden) case AUDIO_CHANNEL_PUBLICNOTIFICATION: // Nothing to do break; + + case AUDIO_CHANNEL_LAST: + MOZ_NOT_REACHED(); + return false; } } @@ -166,6 +170,10 @@ AudioChannelService::GetMuted(AudioChannelType aType, bool aElementHidden) case AUDIO_CHANNEL_PUBLICNOTIFICATION: break; + + case AUDIO_CHANNEL_LAST: + MOZ_NOT_REACHED(); + return false; } // Notification if needed.