remote fonts: Remove debug asserts for deserialization failures.
The fuzzers are tripping on these asserts. Bug: 940370 Change-Id: I08adfa5b9b3e083f3671bd9a5e952f26860e185f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199960 Auto-Submit: Khushal Sagar <khushalsagar@chromium.org> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
4100b7cad2
commit
b6b8ad3b2f
@ -619,10 +619,10 @@ SkStrikeClient::SkStrikeClient(sk_sp<DiscardableHandleManager> discardableManage
|
||||
|
||||
SkStrikeClient::~SkStrikeClient() = default;
|
||||
|
||||
#define READ_FAILURE \
|
||||
{ \
|
||||
SkDEBUGFAIL("Bad serialization"); \
|
||||
return false; \
|
||||
#define READ_FAILURE \
|
||||
{ \
|
||||
SkDebugf("Bad font data serialization"); \
|
||||
return false; \
|
||||
}
|
||||
|
||||
static bool readGlyph(SkTLazy<SkGlyph>& glyph, Deserializer* deserializer) {
|
||||
|
Loading…
Reference in New Issue
Block a user