提交 01ab5183 编写于 作者: B Brian Osman 提交者: GitHub

Update Fuchsia font code to new Skia API (#4179)

上级 459f722b
......@@ -133,7 +133,7 @@ sk_sp<SkTypeface> FontCache::createTypeface(
if (!data)
return nullptr;
return sk_sp<SkTypeface>(SkFontMgr::RefDefault()->createFromData(data.get()));
return SkFontMgr::RefDefault()->makeFromData(std::move(data));
}
} // namespace blink
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册