Bug 154634

Summary: FontCascadeFonts should downgrade its Ref<FontSelector> to a WeakPtr
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: mmaxfield
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 153346    

Myles C. Maxfield
Reported 2016-02-23 22:26:26 PST
After the document is destroyed, it doesn't make any sense for a font to extend the lifetime of the font selector. Once this is done, CSSFontSelector can probably be a std::unique_ptr or even a raw member variable of Document.
Attachments
Myles C. Maxfield
Comment 1 2016-02-23 22:57:46 PST
This should be done for all references to a FontSelector, except for the Document's.
Note You need to log in before you can comment on or make changes to this bug.