Unreviewed build fix. MSVC (and other compilers) need a default: case in switch state...
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Feb 2013 00:13:47 +0000 (00:13 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Feb 2013 00:13:47 +0000 (00:13 +0000)
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::notificationName):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142328 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp

index b4625ccc3f25e65ea973220189058cc624baed65..89585f0e1ebe6c05ba89fbfda157a7241c529dd9 100644 (file)
@@ -1,3 +1,10 @@
+2013-02-08  Jer Noble  <jer.noble@apple.com>
+
+        Unreviewed build fix. MSVC (and other compilers) need a default: case in switch statement.
+
+        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+        (WebCore::notificationName):
+
 2013-02-08  Jer Noble  <jer.noble@apple.com>
 
         Bring WebKit up to speed with latest Encrypted Media spec.
index 57f478e503ec6f26083cc0e3a482816e1f9045ef..b8824a8cfdcf0a2738cddf75056220568c7d3466 100644 (file)
@@ -701,6 +701,7 @@ static const char* notificationName(MediaPlayerPrivateAVFoundation::Notification
 #define DEFINE_TYPE_STRING_CASE(type) case MediaPlayerPrivateAVFoundation::Notification::type: return #type;
     switch (notification.type()) {
         FOR_EACH_MEDIAPLAYERPRIVATEAVFOUNDATION_NOTIFICATION_TYPE(DEFINE_TYPE_STRING_CASE)
+        default: return "";
     }
 #undef DEFINE_TYPE_STRING_CASE
 }