Remove other uses of SkFontMgr::RefDefault
Clients of Skottie should be setting their own SkFontMgrs and not
be relying on the default, so we don't need to lazily load it.
SkParagraph already has a fallback fontmgr, so let's use that
instead of the default.
SkShaper_harfbuzz appears to only use the fontmgr for fallback,
which I documented some and removed the behavior where a null
fallback SkFontMgr would default to SkFontMgr::RefDefault()
(it now means the empty FontMgr or "no" fallback).
After this CL lands, we still need to clean up clients.
Commit-Queue: Kevin Lubick <email@example.com>
Reviewed-by: Florin Malita <firstname.lastname@example.org>
Reviewed-by: Ben Wagner <email@example.com>
21 files changed