Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 2b863595e98f08b102a96f19494e85dda66118c1
https://github.com/WebKit/WebKit/commit/2b863595e98f08b102a96f19494e85dda66118c1
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:
-----------
Cherry-pick 302788@main (cd4d8134c265).
https://bugs.webkit.org/show_bug.cgi?id=302164
[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
Canonical link: https://commits.webkit.org/298234.234@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications