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

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

Issue 1723043002: Roll HarfBuzz to 1.2.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include upstream ebd7431f824 Created 4 years, 10 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 inline bool sanitize (hb_sanitize_context_t *c) const 212 inline bool sanitize (hb_sanitize_context_t *c) const
213 { 213 {
214 TRACE_SANITIZE (this); 214 TRACE_SANITIZE (this);
215 return_trace (version.sanitize (c) && 215 return_trace (version.sanitize (c) &&
216 likely (version.major == 1) && 216 likely (version.major == 1) &&
217 scriptList.sanitize (c, this)); 217 scriptList.sanitize (c, this));
218 } 218 }
219 219
220 protected: 220 protected:
221 FixedVersion» version;» /* Version of the JSTF table--initially set 221 FixedVersion<>version;» /* Version of the JSTF table--initially set
222 * to 0x00010000u */ 222 * to 0x00010000u */
223 RecordArrayOf<JstfScript> 223 RecordArrayOf<JstfScript>
224 scriptList; /* Array of JstfScripts--listed 224 scriptList; /* Array of JstfScripts--listed
225 * alphabetically by ScriptTag */ 225 * alphabetically by ScriptTag */
226 public: 226 public:
227 DEFINE_SIZE_ARRAY (6, scriptList); 227 DEFINE_SIZE_ARRAY (6, scriptList);
228 }; 228 };
229 229
230 230
231 } /* namespace OT */ 231 } /* namespace OT */
232 232
233 233
234 #endif /* HB_OT_LAYOUT_JSTF_TABLE_HH */ 234 #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