Changeset 276915 in webkit
- Timestamp:
- May 3, 2021, 12:15:16 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r276913 r276915 1 2021-05-03 Philippe Normand <pnormand@igalia.com> 2 3 [GTK] Build with VIDEO=OFF fails 4 https://bugs.webkit.org/show_bug.cgi?id=225316 5 6 Reviewed by Adrian Perez de Castro. 7 8 * platform/audio/PlatformMediaSession.cpp: 9 (WebCore::isPlayingAudio): Guard against invalid media types, when video is disabled we can 10 safely return false here as well. 11 * platform/graphics/opengl/GraphicsContextGLOpenGL.h: Include what we use (UniqueRef). 12 1 13 2021-05-03 Sihui Liu <sihui_liu@apple.com> 2 14 -
trunk/Source/WebCore/platform/audio/PlatformMediaSession.cpp
r276883 r276915 377 377 static inline bool isPlayingAudio(PlatformMediaSession::MediaType mediaType) 378 378 { 379 #if ENABLE(VIDEO) 379 380 return mediaType == MediaElementSession::MediaType::VideoAudio || mediaType == MediaElementSession::MediaType::Audio; 381 #else 382 UNUSED_PARAM(mediaType); 383 return false; 384 #endif 380 385 } 381 386 -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.h
r275976 r276915 35 35 #include <wtf/RetainPtr.h> 36 36 #include <wtf/UniqueArray.h> 37 #include <wtf/UniqueRef.h> 37 38 38 39 #if PLATFORM(COCOA)
Note:
See TracChangeset
for help on using the changeset viewer.