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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-open-type-private.hh

Issue 475363002: Roll HarfBuzz to 0.9.35 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows build fix attempt Created 6 years, 4 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 © 2007,2008,2009,2010 Red Hat, Inc. 2 * Copyright © 2007,2008,2009,2010 Red Hat, Inc.
3 * Copyright © 2012 Google, Inc. 3 * Copyright © 2012 Google, Inc.
4 * 4 *
5 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
6 * 6 *
7 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 hb_blob_t *blob; 282 hb_blob_t *blob;
283 }; 283 };
284 284
285 285
286 286
287 /* Template to sanitize an object. */ 287 /* Template to sanitize an object. */
288 template <typename Type> 288 template <typename Type>
289 struct Sanitizer 289 struct Sanitizer
290 { 290 {
291 static hb_blob_t *sanitize (hb_blob_t *blob) { 291 static hb_blob_t *sanitize (hb_blob_t *blob) {
292 hb_sanitize_context_t c[1] = {{0}}; 292 hb_sanitize_context_t c[1] = {{0, NULL, NULL, false, 0, NULL}};
293 bool sane; 293 bool sane;
294 294
295 /* TODO is_sane() stuff */ 295 /* TODO is_sane() stuff */
296 296
297 c->init (blob); 297 c->init (blob);
298 298
299 retry: 299 retry:
300 DEBUG_MSG_FUNC (SANITIZE, blob, "start"); 300 DEBUG_MSG_FUNC (SANITIZE, blob, "start");
301 301
302 c->start_processing (); 302 c->start_processing ();
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 } 951 }
952 return -1; 952 return -1;
953 } 953 }
954 }; 954 };
955 955
956 956
957 } /* namespace OT */ 957 } /* namespace OT */
958 958
959 959
960 #endif /* HB_OPEN_TYPE_PRIVATE_HH */ 960 #endif /* HB_OPEN_TYPE_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-mutex-private.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698