From 31cc1f74b7028ef88fa0e93e7f12166c7e06de8e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Oct 2018 11:14:37 -0700 Subject: [PATCH] [svg] Minor --- src/hb-ot-color-svg-table.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-color-svg-table.hh b/src/hb-ot-color-svg-table.hh index 7c342d018..bb4c4f757 100644 --- a/src/hb-ot-color-svg-table.hh +++ b/src/hb-ot-color-svg-table.hh @@ -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: