style: Use a SharedFontList object to store font-family values for Gecko.

This commit is contained in:
Cameron McCormack 2017-09-29 17:43:22 +08:00
parent c0f404999c
commit 4d9dd4b757
6 changed files with 242 additions and 89 deletions

View file

@ -286,4 +286,7 @@ impl_threadsafe_refcount!(::gecko_bindings::structs::mozilla::css::GridTemplateA
impl_threadsafe_refcount!(::gecko_bindings::structs::ImageValue,
Gecko_AddRefImageValueArbitraryThread,
Gecko_ReleaseImageValueArbitraryThread);
impl_threadsafe_refcount!(::gecko_bindings::structs::SharedFontList,
Gecko_AddRefSharedFontListArbitraryThread,
Gecko_ReleaseSharedFontListArbitraryThread);