Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 68455aeaffedb9a042196b90473f82bac4bba85f
https://github.com/WebKit/WebKit/commit/68455aeaffedb9a042196b90473f82bac4bba85f
Author: Charlie Wolfe <[email protected]>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
Log Message:
-----------
REGRESSION(309131@main): Null dereference in
`WebPageProxy::useGPUProcessForDOMRenderingEnabled()`
https://bugs.webkit.org/show_bug.cgi?id=317666
rdar://179426764
Reviewed by Anne van Kesteren.
The loop over configuration->relatedPage() added the current page to the
visited set with
`visitedPages.add(page.releaseNonNull())`. releaseNonNull() empties the RefPtr,
so `page` was null
when the for-loop increment ran `page = page->configuration().relatedPage()`.
Add a non-destructive `visitedPages.add(*page)` so `page` stays valid for the
loop increment.
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::useGPUProcessForDOMRenderingEnabled const):
Canonical link: https://commits.webkit.org/315693@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications