未验证 提交 e363c58f 编写于 作者: J Jason Simmons 提交者: GitHub

Fix the reversal of behavior in SerializeTypefaceWithData and WithoutData (#20250)

上级 0d98b996
......@@ -11,11 +11,11 @@
namespace flutter {
sk_sp<SkData> SerializeTypefaceWithoutData(SkTypeface* typeface, void* ctx) {
return typeface->serialize(SkTypeface::SerializeBehavior::kDoIncludeData);
return typeface->serialize(SkTypeface::SerializeBehavior::kDontIncludeData);
}
sk_sp<SkData> SerializeTypefaceWithData(SkTypeface* typeface, void* ctx) {
return typeface->serialize(SkTypeface::SerializeBehavior::kDontIncludeData);
return typeface->serialize(SkTypeface::SerializeBehavior::kDoIncludeData);
}
struct ImageMetaData {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册