Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: src/gpos.cc

Issue 13918002: [OTS] Integrate WOFF 2.0 algorithm into OTS (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ots-common.gypi ('k') | src/gsub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« no previous file with comments | « ots-common.gypi ('k') | src/gsub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698