Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c27c56bff56cb60c7e717975cfe3b8cf1eec31c0
https://github.com/WebKit/WebKit/commit/c27c56bff56cb60c7e717975cfe3b8cf1eec31c0
Author: JC Alvarado <[email protected]>
Date: 2023-03-30 (Thu, 30 Mar 2023)
Changed paths:
M Source/WebKit/GPUProcess/GPUProcess.cpp
Log Message:
-----------
Wrap captured variable with WeakPtr in GPUProcess::initializeGPUProcess
https://bugs.webkit.org/show_bug.cgi?id=254316
rdar://107117855
Reviewed by Ryosuke Niwa and Youenn Fablet.
We are storing a lambda with a captured variable. We should use a
smart pointer here so we can check if this is alive before accessing it.
* Source/WebKit/GPUProcess/GPUProcess.cpp:
(WebKit::GPUProcess::initializeGPUProcess):
Canonical link: https://commits.webkit.org/262314@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes