WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug