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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh

Issue 396393005: Roll HarfBuzz to 0.9.32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for include order presubmit issue Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright © 2013 Google, Inc. 2 * Copyright © 2013 Google, Inc.
3 * 3 *
4 * This is part of HarfBuzz, a text shaping library. 4 * This is part of HarfBuzz, a text shaping library.
5 * 5 *
6 * Permission is hereby granted, without written agreement and without 6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this 7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the 8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in 9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software. 10 * all copies of this software.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 { return scriptList.find_index (tag, index); } 207 { return scriptList.find_index (tag, index); }
208 208
209 inline bool sanitize (hb_sanitize_context_t *c) { 209 inline bool sanitize (hb_sanitize_context_t *c) {
210 TRACE_SANITIZE (this); 210 TRACE_SANITIZE (this);
211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) && 211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) &&
212 scriptList.sanitize (c, this)); 212 scriptList.sanitize (c, this));
213 } 213 }
214 214
215 protected: 215 protected:
216 FixedVersion version; /* Version of the JSTF table--initially set 216 FixedVersion version; /* Version of the JSTF table--initially set
217 » » » » * to 0x00010000 */ 217 » » » » * to 0x00010000u */
218 RecordArrayOf<JstfScript> 218 RecordArrayOf<JstfScript>
219 scriptList; /* Array of JstfScripts--listed 219 scriptList; /* Array of JstfScripts--listed
220 * alphabetically by ScriptTag */ 220 * alphabetically by ScriptTag */
221 public: 221 public:
222 DEFINE_SIZE_ARRAY (6, scriptList); 222 DEFINE_SIZE_ARRAY (6, scriptList);
223 }; 223 };
224 224
225 225
226 } /* namespace OT */ 226 } /* namespace OT */
227 227
228 228
229 #endif /* HB_OT_LAYOUT_JSTF_TABLE_HH */ 229 #endif /* HB_OT_LAYOUT_JSTF_TABLE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-layout-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698