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

Unified Diff: third_party/harfbuzz-ng/src/hb-common.cc

Issue 12438036: Update harfbuzz-ng to 0.9.14 from 0.9.10 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
Index: third_party/harfbuzz-ng/src/hb-common.cc
===================================================================
--- third_party/harfbuzz-ng/src/hb-common.cc (리비전 191245)
+++ third_party/harfbuzz-ng/src/hb-common.cc (작업 사본)
@@ -36,7 +36,25 @@
#include <locale.h>
+/* hb_options_t */
+hb_options_union_t _hb_options;
+
+void
+_hb_options_init (void)
+{
+ hb_options_union_t u;
+ u.i = 0;
+ u.opts.initialized = 1;
+
+ char *c = getenv ("HB_OPTIONS");
+ u.opts.uniscribe_bug_compatible = c && strstr (c, "uniscribe-bug-compatible");
+
+ /* This is idempotent and threadsafe. */
+ _hb_options = u;
+}
+
+
/* hb_tag_t */
hb_tag_t
@@ -177,7 +195,7 @@
static hb_language_item_t *langs;
-static
+static inline
void free_langs (void)
{
while (langs) {
@@ -414,5 +432,3 @@
{
return HB_VERSION_CHECK (major, minor, micro);
}
-
-

Powered by Google App Engine
This is Rietveld 408576698