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

Unified Diff: src/gsub.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 | « src/gpos.cc ('k') | src/ots.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gsub.cc
===================================================================
--- src/gsub.cc (revision 99)
+++ src/gsub.cc (working copy)
@@ -63,9 +63,8 @@
ParseReverseChainingContextSingleSubstitution}
};
-// TODO(bashi): Port Chromium's arraysize macro and use it instead of sizeof().
const ots::LookupSubtableParser kGsubLookupSubtableParser = {
- sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
+ arraysize(kGsubTypeParsers),
GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
};
« no previous file with comments | « src/gpos.cc ('k') | src/ots.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698