Index: src/gpos.cc |
=================================================================== |
--- src/gpos.cc (revision 99) |
+++ src/gpos.cc (working copy) |
@@ -69,9 +69,8 @@ |
{GPOS_TYPE_EXTENSION_POSITIONING, ParseExtensionPositioning} |
}; |
-// TODO(bashi): Port Chromium's arraysize macro and use it instead of sizeof(). |
const ots::LookupSubtableParser kGposLookupSubtableParser = { |
- sizeof(kGposTypeParsers) / sizeof(kGposTypeParsers[0]), |
+ arraysize(kGposTypeParsers), |
GPOS_TYPE_EXTENSION_POSITIONING, kGposTypeParsers |
}; |