Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d3c58e6a5d2ddece4a041d404b5359f23f384f8
https://github.com/WebKit/WebKit/commit/5d3c58e6a5d2ddece4a041d404b5359f23f384f8
Author: Ryosuke Niwa <[email protected]>
Date: 2025-11-01 (Sat, 01 Nov 2025)
Changed paths:
M Source/WebKit/UIProcess/DisplayLink.h
M Source/WebKit/UIProcess/WebProcessProxy.cpp
M Source/WebKit/UIProcess/WebProcessProxy.h
Log Message:
-----------
Always allocate DisplayLink::Client in heap
https://bugs.webkit.org/show_bug.cgi?id=301786
Reviewed by Geoffrey Garen.
Always allocate DisplayLink::Client in heap so that operator delete destructs
it.
No new tests since there should be no behavioral differences.
* Source/WebKit/UIProcess/DisplayLink.h:
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::WebProcessProxy):
(WebKit::WebProcessProxy::~WebProcessProxy):
(WebKit::WebProcessProxy::connectionWillOpen):
(WebKit::WebProcessProxy::processWillShutDown):
(WebKit::WebProcessProxy::startDisplayLink):
(WebKit::WebProcessProxy::stopDisplayLink):
(WebKit::WebProcessProxy::setDisplayLinkPreferredFramesPerSecond):
(WebKit::WebProcessProxy::setDisplayLinkForDisplayWantsFullSpeedUpdates):
* Source/WebKit/UIProcess/WebProcessProxy.h:
Canonical link: https://commits.webkit.org/302438@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications