aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sfnt/SkOTTable_maxp_CFF.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2014-07-15 20:01:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-15 20:01:56 -0700
commit9d3cdb6886a6a6ee41aea32b04bb950b565cdd9f (patch)
tree1a84eab55ef864b00ed2f05421daa6bcd32353fe /src/sfnt/SkOTTable_maxp_CFF.h
parent285d375508611c790b4c816a759cd4f634c218a3 (diff)
Fix some issues with sfnt maxp headers.
The TT version was missing the second to last member, and the names of the asserts in the CFF version were wrong. R=mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/390203003
Diffstat (limited to 'src/sfnt/SkOTTable_maxp_CFF.h')
-rw-r--r--src/sfnt/SkOTTable_maxp_CFF.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/SkOTTable_maxp_CFF.h b/src/sfnt/SkOTTable_maxp_CFF.h
index 873fb66c9f..f97bff9efc 100644
--- a/src/sfnt/SkOTTable_maxp_CFF.h
+++ b/src/sfnt/SkOTTable_maxp_CFF.h
@@ -24,7 +24,7 @@ struct SkOTTableMaximumProfile_CFF {
#include <stddef.h>
-SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, SkOTTableHead_glyphDataFormat_not_at_2);
-SK_COMPILE_ASSERT(sizeof(SkOTTableMaximumProfile_CFF) == 6, sizeof_SkOTTableHead_not_4);
+SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4);
+SK_COMPILE_ASSERT(sizeof(SkOTTableMaximumProfile_CFF) == 6, sizeof_SkOTTableMaximumProfile_CFF_not_6);
#endif