projects
/
apps
/
home
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5546a4
)
Sanitize shallow in Lookup since the generic SubLookup has no methods
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 22 Apr 2010 04:49:16 +0000
(
00:49
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 22 Apr 2010 04:50:19 +0000
(
00:50
-0400)
src/hb-ot-layout-common-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common-private.hh
b/src/hb-ot-layout-common-private.hh
index
080d9f5
..
38d1983
100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/hb-ot-layout-common-private.hh
@@
-295,7
+295,7
@@
struct Lookup
inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
- if (!(SANITIZE_SELF () &&
SANITIZE_THIS (subTable
))) return false;
+ if (!(SANITIZE_SELF () &&
HB_LIKELY ((subTable).sanitize_shallow (SANITIZE_ARG)
))) return false;
if (HB_UNLIKELY (lookupFlag & LookupFlag::UseMarkFilteringSet))
{
USHORT &markFilteringSet = StructAfter<USHORT> (subTable);