Changeset 208543 in webkit


Ignore:
Timestamp:
Nov 10, 2016 9:30:32 AM (8 years ago)
Author:
matthew_hanson@apple.com
Message:

Merge r208464. rdar://problem/29098431

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  
     12016-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
    1202016-11-07  Ryan Haddad  <ryanhaddad@apple.com>
    221
  • tags/Safari-603.1.12/Source/WebCore/html/MediaElementSession.h

    r208179 r208543  
    128128    bool allowsNowPlayingControlsVisibility() const override;
    129129
     130    static bool isMediaElementSessionMediaType(MediaType type)
     131    {
     132        return type == Video
     133            || type == Audio
     134            || type == VideoAudio;
     135    }
     136
    130137private:
    131138
     
    166173
    167174SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::MediaElementSession)
    168 static bool isType(const WebCore::PlatformMediaSession& session) { return session.mediaType() == WebCore::PlatformMediaSession::Video || session.mediaType() == WebCore::PlatformMediaSession::Audio; }
     175static bool isType(const WebCore::PlatformMediaSession& session) { return WebCore::MediaElementSession::isMediaElementSessionMediaType(session.mediaType()); }
    169176SPECIALIZE_TYPE_TRAITS_END()
    170177
Note: See TracChangeset for help on using the changeset viewer.