Bug 255992

Summary: Use smart pointers for captured variables in NetworkProcess::initializeNetworkProcess
Product: WebKit Reporter: JC Alvarado <joncarlo>
Component: WebKit Misc.Assignee: JC Alvarado <joncarlo>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

JC Alvarado
Reported 2023-04-26 09:57:06 PDT
We capture a variable in NetworkProcess::initializeNetworkProcess and store it in a separate object. We should protect this variable using smart pointers.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-26 09:57:24 PDT
JC Alvarado
Comment 2 2023-04-26 10:21:59 PDT
There is similar code in GPUProcess::initializeGPUProcess that where we should also use a smart pointer
JC Alvarado
Comment 3 2023-04-26 11:10:24 PDT
EWS
Comment 4 2023-04-27 12:50:39 PDT
Committed 263466@main (5f072a498756): <https://commits.webkit.org/263466@main> Reviewed commits have been landed. Closing PR #13202 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.