Bug 289541

Summary: Make SVGProperty and SVGAnimatedProperty ThreadSafeRefCounted
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Said Abou-Hallawa
Reported 2025-03-11 10:10:06 PDT
OffscreenCanvas can draw an SVGImage on a worker thread through ImageBitmap. The SVGProperties can change during drawing. The SVGImage size of class can change to handle custom drawing. This will access the RefCounted SVGProperties off the main thread. As a first step towards fixing the threading issues, these classes should be ThreadSafeRefCounted.
Attachments
Said Abou-Hallawa
Comment 1 2025-03-11 10:10:54 PDT
Said Abou-Hallawa
Comment 2 2025-03-11 10:16:08 PDT
EWS
Comment 3 2025-03-11 12:04:13 PDT
Committed 291967@main (e7da2aa1e920): <https://commits.webkit.org/291967@main> Reviewed commits have been landed. Closing PR #42262 and removing active labels.
EWS
Comment 4 2025-03-11 15:45:08 PDT
Committed 289651.253@safari-7621-branch (55618d932ec6): <https://commits.webkit.org/289651.253@safari-7621-branch> Reviewed commits have been landed. Closing PR #2780 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.