Changeset 260217 in webkit
- Timestamp:
- Apr 16, 2020, 1:27:12 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260209 r260217 1 2020-04-16 Jer Noble <jer.noble@apple.com> 2 3 Unreviewed build-fix after r260182; guard call to fullscreenManager() for ports which do not 4 ENABLE(FULLSCREEN_API). 5 6 * html/MediaElementSession.cpp: 7 (WebCore::MediaElementSession::updateMediaUsageIfChanged): 8 1 9 2020-04-16 Claudio Saavedra <csaavedra@igalia.com> 2 10 -
trunk/Source/WebCore/html/MediaElementSession.cpp
r260182 r260217 1019 1019 return; 1020 1020 1021 auto* fullscreenElement = document.fullscreenManager().currentFullscreenElement(); 1021 bool isOutsideOfFullscreen = false; 1022 #if ENABLE(FULLSCREEN_API) 1023 if (auto* fullscreenElement = document.fullscreenManager().currentFullscreenElement()) 1024 isOutsideOfFullscreen = !m_element.isDescendantOf(*fullscreenElement); 1025 #endif 1022 1026 bool isAudio = client().presentationType() == MediaType::Audio; 1023 1027 bool isVideo = client().presentationType() == MediaType::Video; … … 1055 1059 hasBehaviorRestriction(RequirePlaybackToControlControlsManager) && !isPlaying, 1056 1060 m_element.hasEverNotifiedAboutPlaying(), 1057 fullscreenElement && !m_element.isDescendantOf(*fullscreenElement),1061 isOutsideOfFullscreen, 1058 1062 isLargeEnoughForMainContent(MediaSessionMainContentPurpose::MediaControls), 1059 1063 };
Note:
See TracChangeset
for help on using the changeset viewer.