Changeset 208543 in webkit
- Timestamp:
- Nov 10, 2016 9:30:32 AM (8 years ago)
- Location:
- tags/Safari-603.1.12/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-603.1.12/Source/WebCore/ChangeLog
r208422 r208543 1 2016-11-10 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r208464. rdar://problem/29098431 4 5 2016-11-09 Jer Noble <jer.noble@apple.com> 6 7 REGRESSION (r208149): Media scrubber is not displayed in media controls 8 https://bugs.webkit.org/show_bug.cgi?id=164514 9 10 Reviewed by Darin Adler. 11 12 Fixes broken Media Controls API tests. 13 14 Added a new PlatformMediaSessionType; need to add that same type to the TYPE_TRAITS section of 15 MediaElementSession.h so that is<> and downcast<> work correctly. 16 17 * html/MediaElementSession.h: 18 (isType): 19 1 20 2016-11-07 Ryan Haddad <ryanhaddad@apple.com> 2 21 -
tags/Safari-603.1.12/Source/WebCore/html/MediaElementSession.h
r208179 r208543 128 128 bool allowsNowPlayingControlsVisibility() const override; 129 129 130 static bool isMediaElementSessionMediaType(MediaType type) 131 { 132 return type == Video 133 || type == Audio 134 || type == VideoAudio; 135 } 136 130 137 private: 131 138 … … 166 173 167 174 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::MediaElementSession) 168 static bool isType(const WebCore::PlatformMediaSession& session) { return session.mediaType() == WebCore::PlatformMediaSession::Video || session.mediaType() == WebCore::PlatformMediaSession::Audio; }175 static bool isType(const WebCore::PlatformMediaSession& session) { return WebCore::MediaElementSession::isMediaElementSessionMediaType(session.mediaType()); } 169 176 SPECIALIZE_TYPE_TRAITS_END() 170 177
Note: See TracChangeset
for help on using the changeset viewer.