summaryrefslogtreecommitdiffstats
path: root/external/pdfium
diff options
context:
space:
mode:
Diffstat (limited to 'external/pdfium')
-rw-r--r--external/pdfium/cg-instead-of-carbon.patch.111
1 files changed, 11 insertions, 0 deletions
diff --git a/external/pdfium/cg-instead-of-carbon.patch.1 b/external/pdfium/cg-instead-of-carbon.patch.1
index d46b776cd849..13f631533169 100644
--- a/external/pdfium/cg-instead-of-carbon.patch.1
+++ b/external/pdfium/cg-instead-of-carbon.patch.1
@@ -10,3 +10,14 @@
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/retain_ptr.h"
+--- a/core/fpdfapi/font/cpdf_type1font.cpp
++++ b/core/fpdfapi/font/cpdf_type1font.cpp
+@@ -14,7 +14,7 @@
+ #include "core/fxge/fx_freetype.h"
+
+ #if defined(OS_APPLE)
+-#include <Carbon/Carbon.h>
++#include <CoreGraphics/CoreGraphics.h>
+ #endif // defined(OS_APPLE)
+
+ namespace {