Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 33c36ac4b64130c6bef37f0b49c39db586165249
https://github.com/WebKit/WebKit/commit/33c36ac4b64130c6bef37f0b49c39db586165249
Author: Jessica Lee <[email protected]>
Date: 2026-09-15 (Tue, 15 Sep 2026)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
Log Message:
-----------
WebPage::suspendForProcessSwap can return a bool
https://bugs.webkit.org/show_bug.cgi?id=324168
rdar://187395915
Reviewed by Charlie Wolfe, Alex Christensen, and Basuke Suzuki.
WebPage::suspendForProcessSwap can be simplified & refactored to return a
bool rather than calling the completionHandler within itself.
No new tests needed.
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::suspendForProcessSwap):
(WebKit::WebPage::setIsSuspended):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
Canonical link: https://commits.webkit.org/321185@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications