diff options
-rw-r--r-- | webkit/api/src/WebMediaPlayerClientImpl.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/webkit/api/src/WebMediaPlayerClientImpl.cpp b/webkit/api/src/WebMediaPlayerClientImpl.cpp index 884d45b..54cbce8 100644 --- a/webkit/api/src/WebMediaPlayerClientImpl.cpp +++ b/webkit/api/src/WebMediaPlayerClientImpl.cpp @@ -28,6 +28,7 @@ #include "MediaPlayer.h" #include "NotImplemented.h" #include "PlatformContextSkia.h" +#include <wtf/Assertions.h> using namespace WebCore; @@ -409,12 +410,14 @@ MediaPlayer::SupportsType WebMediaPlayerClientImpl::supportsType(const String& t webKitClient()->mimeRegistry()->supportsMediaMIMEType(type, codecs); switch (supportsType) { + default: + ASSERT_NOT_REACHED(); case WebMimeRegistry::IsNotSupported: - return MediaPlayer::IsNotSupported; + return MediaPlayer::IsNotSupported; case WebMimeRegistry::IsSupported: - return MediaPlayer::IsSupported; + return MediaPlayer::IsSupported; case WebMimeRegistry::MayBeSupported: - return MediaPlayer::MayBeSupported; + return MediaPlayer::MayBeSupported; } } |