Changeset 284858 in webkit
- Timestamp:
- Oct 26, 2021, 12:36:09 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/accessibility/AXObjectCache.cpp (modified) (1 diff)
-
Source/WebCore/page/EventHandler.cpp (modified) (1 diff)
-
Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp (modified) (1 diff)
-
Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp (modified) (2 diffs)
-
Source/cmake/WebKitFeatures.cmake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r284820 r284858 1 2021-10-26 Adrian Perez de Castro <aperez@igalia.com> 2 3 Multiple build issues with ENABLE_VIDEO=OFF 4 https://bugs.webkit.org/show_bug.cgi?id=232264 5 6 Reviewed by Carlos Garcia Campos. 7 8 * Source/cmake/WebKitFeatures.cmake: Make ENABLE_MEDIA_SESSION depend on ENABLE_VIDEO. 9 1 10 2021-10-25 Jonathan Bedard <jbedard@apple.com> 2 11 -
trunk/Source/WebCore/ChangeLog
r284857 r284858 1 2021-10-26 Adrian Perez de Castro <aperez@igalia.com> 2 3 Multiple build issues with ENABLE_VIDEO=OFF 4 https://bugs.webkit.org/show_bug.cgi?id=232264 5 6 Reviewed by Carlos Garcia Campos. 7 8 No new tests needed. 9 10 * accessibility/AXObjectCache.cpp: 11 (WebCore::isSimpleImage): Guard usage of HTMLMediaElement with ENABLE(VIDEO). 12 * page/EventHandler.cpp: 13 (WebCore::EventHandler::textRecognitionCandidateElement const): Ditto. 14 * platform/graphics/BifurcatedGraphicsContext.cpp: Ditto. 15 * platform/graphics/displaylists/DisplayListRecorder.h: Guard usage of MediaPlayer with 16 ENABLE(VIDEO). 17 * platform/graphics/displaylists/DisplayListRecorderImpl.cpp: Ditto. 18 * platform/graphics/displaylists/DisplayListRecorderImpl.h: Ditto. 19 1 20 2021-10-26 Fujii Hironori <Hironori.Fujii@sony.com> 2 21 -
trunk/Source/WebCore/accessibility/AXObjectCache.cpp
r284675 r284858 532 532 return false; 533 533 534 #if ENABLE(VIDEO) 534 535 // Exclude video and audio elements. 535 536 if (is<HTMLMediaElement>(node)) 536 537 return false; 538 #endif // ENABLE(VIDEO) 537 539 538 540 return true; -
trunk/Source/WebCore/page/EventHandler.cpp
r284857 r284858 2544 2544 #endif 2545 2545 2546 #if ENABLE(VIDEO) 2546 2547 if (is<HTMLVideoElement>(*candidateElement)) 2547 2548 return nullptr; 2549 #endif // ENABLE(VIDEO) 2548 2550 2549 2551 return candidateElement; -
trunk/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp
r284003 r284858 298 298 } 299 299 300 #if ENABLE(VIDEO) 300 301 void BifurcatedGraphicsContext::paintFrameForMedia(MediaPlayer& player, const FloatRect& destination) 301 302 { … … 303 304 m_secondaryContext.paintFrameForMedia(player, destination); 304 305 } 306 #endif // ENABLE(VIDEO) 305 307 306 308 void BifurcatedGraphicsContext::scale(const FloatSize& scale) -
trunk/Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h
r284003 r284858 117 117 virtual void recordFillPath(const Path&) = 0; 118 118 virtual void recordFillEllipse(const FloatRect&) = 0; 119 #if ENABLE(VIDEO) 119 120 virtual void recordPaintFrameForMedia(MediaPlayer&, const FloatRect& destination) = 0; 121 #endif 120 122 virtual void recordStrokeRect(const FloatRect&, float) = 0; 121 123 #if ENABLE(INLINE_PATH_DATA) -
trunk/Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp
r283995 r284858 343 343 } 344 344 345 #if ENABLE(VIDEO) 345 346 void RecorderImpl::recordPaintFrameForMedia(MediaPlayer& player, const FloatRect& destination) 346 347 { 347 348 append<PaintFrameForMedia>(player, destination); 348 349 } 350 #endif // ENABLE(VIDEO) 349 351 350 352 void RecorderImpl::recordStrokeRect(const FloatRect& rect, float width) -
trunk/Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h
r283957 r284858 115 115 void recordFillPath(const Path&) final; 116 116 void recordFillEllipse(const FloatRect&) final; 117 #if ENABLE(VIDEO) 117 118 void recordPaintFrameForMedia(MediaPlayer&, const FloatRect& destination) final; 119 #endif 118 120 void recordStrokeRect(const FloatRect&, float) final; 119 121 #if ENABLE(INLINE_PATH_DATA) -
trunk/Source/WebKit/ChangeLog
r284848 r284858 1 2021-10-26 Adrian Perez de Castro <aperez@igalia.com> 2 3 Multiple build issues with ENABLE_VIDEO=OFF 4 https://bugs.webkit.org/show_bug.cgi?id=232264 5 6 Reviewed by Carlos Garcia Campos. 7 8 * WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp: 9 (WebKit::createShareableBitmap): Guard usage of RenderVideo with ENABLE(VIDEO). 10 1 11 2021-10-25 John Wilander <wilander@apple.com> 2 12 -
trunk/Source/WebKit/WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp
r282740 r284858 72 72 } 73 73 74 #if ENABLE(VIDEO) 74 75 if (is<RenderVideo>(renderImage)) { 75 76 auto& renderVideo = downcast<RenderVideo>(renderImage); … … 94 95 return bitmap; 95 96 } 97 #endif // ENABLE(VIDEO) 96 98 97 99 auto* cachedImage = renderImage.cachedImage(); -
trunk/Source/cmake/WebKitFeatures.cmake
r284512 r284858 251 251 WEBKIT_OPTION_DEPEND(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS ENABLE_REMOTE_INSPECTOR) 252 252 WEBKIT_OPTION_DEPEND(ENABLE_MEDIA_CONTROLS_SCRIPT ENABLE_VIDEO) 253 WEBKIT_OPTION_DEPEND(ENABLE_MEDIA_SESSION ENABLE_VIDEO) 253 254 WEBKIT_OPTION_DEPEND(ENABLE_MEDIA_SOURCE ENABLE_VIDEO) 254 255 WEBKIT_OPTION_DEPEND(ENABLE_MEDIA_STREAM ENABLE_VIDEO)
Note:
See TracChangeset
for help on using the changeset viewer.