Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cd4d8134c26528846c4809c3c266db04e9d089bf
https://github.com/WebKit/WebKit/commit/cd4d8134c26528846c4809c3c266db04e9d089bf
Author: Alejandro G. Castro <[email protected]>
Date: 2025-11-10 (Mon, 10 Nov 2025)
Changed paths:
M Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp
Log Message:
-----------
[WPE][GTK] Crash when loading webkit://gpu in case there is no GPU thread
https://bugs.webkit.org/show_bug.cgi?id=302164
Reviewed by Carlos Garcia Campos.
When launching the web engine without GPU threads for rendering
(WEBKIT_SKIA_GPU_PAINTING_THREADS=0) and opening the webkit://gpu the
request for the MSAA sample count fails because there is no
skiGPUContext. We need to protect for that situation to avoid the crash
and report 0.
* Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp:
(WebCore::PlatformDisplay::msaaSampleCount const):
Canonical link: https://commits.webkit.org/302788@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications