Bug 241752

Summary: DecomposedGlyphs should notify observers in destructor
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: WebKit Process ModelAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2022-06-18 16:26:59 PDT
Forgot to do anything with m_observers in the DecomposedGlyphs destructor.  Currently old DecomposedGlyphs objects will hang around in the GPU process until the document goes away, instead of (as is intended) when the display list they are in is removed from the GlyphDisplayListCache.
Comment 1 Cameron McCormack (:heycam) 2022-06-18 16:29:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1618
Comment 2 EWS 2022-06-21 17:40:36 PDT
Committed r295706 (251711@main): <https://commits.webkit.org/251711@main>

Reviewed commits have been landed. Closing PR #1618 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-21 17:41:12 PDT
<rdar://problem/95649314>