Changeset 163971 in webkit
- Timestamp:
- Feb 12, 2014 12:29:33 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r163969 r163971 1 2014-02-12 Eric Carlson <eric.carlson@apple.com> 2 3 Cleanup the code added for https://bugs.webkit.org/show_bug.cgi?id=128125. 4 5 Not reviewed. 6 7 * html/HTMLMediaSession.cpp: 8 (WebCore::restrictionName): Don't need a "break" after a "return" in a case statement. 9 * platform/audio/MediaSession.cpp: 10 (WebCore::stateName): Ditto. 11 * platform/audio/ios/MediaSessionManagerIOS.mm: 12 1 13 2014-02-12 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/WebCore/html/HTMLMediaSession.cpp
r163390 r163971 46 46 static const char* restrictionName(HTMLMediaSession::BehaviorRestrictions restriction) 47 47 { 48 #define CASE( _restriction) case HTMLMediaSession::_restriction: return #_restriction; break;48 #define CASE(restriction) case HTMLMediaSession::restriction: return #restriction 49 49 switch (restriction) { 50 50 CASE(NoRestrictions); -
trunk/Source/WebCore/platform/audio/MediaSession.cpp
r163393 r163971 36 36 static const char* stateName(MediaSession::State state) 37 37 { 38 #define CASE( _state) case MediaSession::_state: return #_state; break;38 #define CASE(state) case MediaSession::state: return #state 39 39 switch (state) { 40 40 CASE(Idle); -
trunk/Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm
r163390 r163971 65 65 - (id)initWithCallback:(MediaSessionManageriOS*)callback; 66 66 - (void)clearCallback; 67 - (void)interruption:(NSNotification *)notification;68 - (void)applicationWillEnterForeground:(NSNotification *)notification;69 - (void)applicationWillResignActive:(NSNotification *)notification;67 - (void)interruption:(NSNotification *)notification; 68 - (void)applicationWillEnterForeground:(NSNotification *)notification; 69 - (void)applicationWillResignActive:(NSNotification *)notification; 70 70 @end 71 71
Note: See TracChangeset
for help on using the changeset viewer.