[svg] Minor

This commit is contained in:
Behdad Esfahbod 2018-10-29 11:14:37 -07:00
parent 1366bb9760
commit 31cc1f74b7
1 changed files with 3 additions and 2 deletions

View File

@ -50,10 +50,11 @@ struct SVGDocumentIndexEntry
svgDocLength);
}
inline bool sanitize (hb_sanitize_context_t *c) const
inline bool sanitize (hb_sanitize_context_t *c, const void *base) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this));
return_trace (c->check_struct (this) &&
svgDoc.sanitize (c, base, svgDocLength));
}
protected: