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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-shaper.cc

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
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape-plan.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright © 2012 Google, Inc. 2 * Copyright © 2012 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 break; 93 break;
94 else 94 else
95 p = end + 1; 95 p = end + 1;
96 } 96 }
97 97
98 if (!hb_atomic_ptr_cmpexch (&static_shapers, NULL, shapers)) { 98 if (!hb_atomic_ptr_cmpexch (&static_shapers, NULL, shapers)) {
99 free (shapers); 99 free (shapers);
100 goto retry; 100 goto retry;
101 } 101 }
102 102
103 #ifdef HAVE_ATEXIT 103 #ifdef HB_USE_ATEXIT
104 atexit (free_static_shapers); /* First person registers atexit() callback. * / 104 atexit (free_static_shapers); /* First person registers atexit() callback. * /
105 #endif 105 #endif
106 } 106 }
107 107
108 return shapers; 108 return shapers;
109 } 109 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape-plan.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698