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

Unified Diff: third_party/harfbuzz-ng/src/test-buffer-serialize.cc

Issue 70193010: Update harfbuzz-ng to 0.9.24 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « third_party/harfbuzz-ng/src/test.cc ('k') | third_party/harfbuzz-ng/src/test-size-params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/test-buffer-serialize.cc
diff --git a/third_party/harfbuzz-ng/src/test-buffer-serialize.cc b/third_party/harfbuzz-ng/src/test-buffer-serialize.cc
index 3577dbf688eda4b53357cf5212877cb7f3b6a119..18c46e9524b69dd12b972c7fa63c4b4210d397c1 100644
--- a/third_party/harfbuzz-ng/src/test-buffer-serialize.cc
+++ b/third_party/harfbuzz-ng/src/test-buffer-serialize.cc
@@ -34,7 +34,10 @@
#endif
#ifdef HAVE_GLIB
-#include <glib.h>
+# include <glib.h>
+# if !GLIB_CHECK_VERSION (2, 22, 0)
+# define g_mapped_file_unref g_mapped_file_free
+# endif
#endif
#include <stdlib.h>
#include <stdio.h>
@@ -114,7 +117,7 @@ main (int argc, char **argv)
hb_buffer_serialize_glyphs (buf, 0, hb_buffer_get_length (buf),
out, sizeof (out), NULL,
font, HB_BUFFER_SERIALIZE_FORMAT_JSON,
- HB_BUFFER_SERIALIZE_FLAGS_DEFAULT);
+ HB_BUFFER_SERIALIZE_FLAG_DEFAULT);
puts (out);
}
« no previous file with comments | « third_party/harfbuzz-ng/src/test.cc ('k') | third_party/harfbuzz-ng/src/test-size-params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698