summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ots/src/gdef.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ots/src/gdef.cc')
-rw-r--r--chromium/third_party/ots/src/gdef.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/ots/src/gdef.cc b/chromium/third_party/ots/src/gdef.cc
index 8d26a41be9d..f7de0f0d281 100644
--- a/chromium/third_party/ots/src/gdef.cc
+++ b/chromium/third_party/ots/src/gdef.cc
@@ -290,7 +290,7 @@ bool ots_gdef_parse(OpenTypeFile *file, const uint8_t *data, size_t length) {
}
}
- unsigned gdef_header_end = 8;
+ unsigned gdef_header_end = 4 + 4 * 2;
if (gdef->version_2)
gdef_header_end += 2;