[aat] Tweak a couple sanitize calls that are never called
This commit is contained in:
parent
305012609b
commit
4353192d05
|
@ -464,7 +464,8 @@ enum { DELETED_GLYPH = 0xFFFF };
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct Entry
|
struct Entry
|
||||||
{
|
{
|
||||||
bool sanitize (hb_sanitize_context_t *c, unsigned int count) const
|
// This does seem like it's ever called.
|
||||||
|
bool sanitize (hb_sanitize_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
/* Note, we don't recurse-sanitize data because we don't access it.
|
/* Note, we don't recurse-sanitize data because we don't access it.
|
||||||
|
@ -492,7 +493,8 @@ struct Entry
|
||||||
template <>
|
template <>
|
||||||
struct Entry<void>
|
struct Entry<void>
|
||||||
{
|
{
|
||||||
bool sanitize (hb_sanitize_context_t *c, unsigned int count /*XXX Unused?*/) const
|
// This does seem like it's ever called.
|
||||||
|
bool sanitize (hb_sanitize_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (c->check_struct (this));
|
return_trace (c->check_struct (this));
|
||||||
|
|
Loading…
Reference in New Issue