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

Unified Diff: third_party/freetype2/patches/freetype2_symbols_visibility.patch

Issue 2300973002: NOT FOR LANDING Update FreeType to upstream 57a6733dcf7828fe3db9254edab33fda7c9f6a10. (Closed)
Patch Set: Rebase, see trybot results again Created 3 years, 11 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
« no previous file with comments | « third_party/freetype2/include/ftmodule.h ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype2/patches/freetype2_symbols_visibility.patch
diff --git a/third_party/freetype2/freetype2.patch b/third_party/freetype2/patches/freetype2_symbols_visibility.patch
similarity index 71%
rename from third_party/freetype2/freetype2.patch
rename to third_party/freetype2/patches/freetype2_symbols_visibility.patch
index 44bcc61df65f08955cfac9cfe53e4041d324dee7..e25e81e27faffde0e30534ee46781aff7dcc8f54 100644
--- a/third_party/freetype2/freetype2.patch
+++ b/third_party/freetype2/patches/freetype2_symbols_visibility.patch
@@ -1,22 +1,22 @@
diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/include/ftconfig.h
-index 9ea3546..16f8854 100644
+index 0e1945b..80e7940 100644
--- a/third_party/freetype2/include/ftconfig.h
+++ b/third_party/freetype2/include/ftconfig.h
-@@ -397,9 +397,9 @@ FT_BEGIN_HEADER
+@@ -424,9 +424,9 @@ FT_BEGIN_HEADER
#ifndef FT_EXPORT
-
+
#ifdef __cplusplus
-#define FT_EXPORT( x ) extern "C" x
-+#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x
++#define FT_EXPORT( x ) __attribute__ ((visibility ("default"))) extern "C" x
#else
-#define FT_EXPORT( x ) extern x
-+#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern x
++#define FT_EXPORT( x ) __attribute__ ((visibility ("default"))) extern x
#endif
-
+
#endif /* !FT_EXPORT */
-@@ -408,9 +408,9 @@ FT_BEGIN_HEADER
+@@ -435,9 +435,9 @@ FT_BEGIN_HEADER
#ifndef FT_EXPORT_DEF
-
+
#ifdef __cplusplus
-#define FT_EXPORT_DEF( x ) extern "C" x
+#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x
@@ -24,5 +24,5 @@ index 9ea3546..16f8854 100644
-#define FT_EXPORT_DEF( x ) extern x
+#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
#endif
-
+
#endif /* !FT_EXPORT_DEF */
« no previous file with comments | « third_party/freetype2/include/ftmodule.h ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698