[webkit-changes] [WebKit/WebKit] 812879: Remove raw reference introduced in 279984 at main
mwyrzykowski
noreply at github.com
Sun Jun 16 22:51:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 81287966784142e6779269a79d0dd3a6ffba7512
https://github.com/WebKit/WebKit/commit/81287966784142e6779269a79d0dd3a6ffba7512
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
M Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.cpp
Log Message:
-----------
Remove raw reference introduced in 279984 at main
https://bugs.webkit.org/show_bug.cgi?id=275542
<radar://129933863>
Reviewed by Geoffrey Garen.
Instead of taking a & and passing it to the create function,
copy the Ref to increment the ref count and then perform the move
where we previously passed a &.
* Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:
(WebKit::WebSWContextManagerConnection::installServiceWorker):
* Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.cpp:
(WebKit::WebSharedWorkerContextManagerConnection::launchSharedWorker):
Canonical link: https://commits.webkit.org/280064@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list