NEW 154634
FontCascadeFonts should downgrade its Ref<FontSelector> to a WeakPtr
https://bugs.webkit.org/show_bug.cgi?id=154634
Summary FontCascadeFonts should downgrade its Ref<FontSelector> to a WeakPtr
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.