Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2c408adfe63040f74b159072f0c7ae0746b6bdee
https://github.com/WebKit/WebKit/commit/2c408adfe63040f74b159072f0c7ae0746b6bdee
Author: Ruthvik Konda <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUQueue.cpp
Log Message:
-----------
Use protect() instead of RefPtr { } in Source/WebCore/Modules/WebGPU
https://bugs.webkit.org/show_bug.cgi?id=311635
rdar://174226050
Reviewed by Mike Wyrzykowski.
Mechanical migration from RefPtr { expr } to protect(expr) in WebCore's WebGPU
DOM binding layer, aligning with the codebase-wide transition away from
brace-initialized smart pointer temporaries.
No new tests needed (no behavioral change, style-only refactor).
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::importExternalTexture):
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::GPUQueue::copyExternalImageToTexture):
Canonical link: https://commits.webkit.org/310729@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications