Remove SANITIZE2
This commit is contained in:
parent
c9f14687a3
commit
73c7dbf7f5
|
@ -228,7 +228,6 @@ _hb_sanitize_edit (SANITIZE_ARG_DEF,
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SANITIZE(X) likely ((X).sanitize (SANITIZE_ARG))
|
#define SANITIZE(X) likely ((X).sanitize (SANITIZE_ARG))
|
||||||
#define SANITIZE2(X,Y) (SANITIZE (X) && SANITIZE (Y))
|
|
||||||
|
|
||||||
#define SANITIZE_THIS(X) likely ((X).sanitize (SANITIZE_ARG, CharP(this)))
|
#define SANITIZE_THIS(X) likely ((X).sanitize (SANITIZE_ARG, CharP(this)))
|
||||||
#define SANITIZE_THIS2(X,Y) (SANITIZE_THIS (X) && SANITIZE_THIS (Y))
|
#define SANITIZE_THIS2(X,Y) (SANITIZE_THIS (X) && SANITIZE_THIS (Y))
|
||||||
|
|
|
@ -420,7 +420,7 @@ struct Ligature
|
||||||
public:
|
public:
|
||||||
inline bool sanitize (SANITIZE_ARG_DEF) {
|
inline bool sanitize (SANITIZE_ARG_DEF) {
|
||||||
TRACE_SANITIZE ();
|
TRACE_SANITIZE ();
|
||||||
return SANITIZE2 (ligGlyph, component);
|
return SANITIZE (ligGlyph) && SANITIZE (component);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue