summaryrefslogtreecommitdiff
path: root/external/pdfium/cg-instead-of-carbon.patch.1
blob: 770f9ad1f647abb2ced46303a9adf8248f37a241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-*- Mode: Diff -*-
--- a/core/fxge/apple/fx_quartz_device.h
+++ b/core/fxge/apple/fx_quartz_device.h
@@ -7,7 +7,7 @@
 #ifndef CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_
 #define CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_
 
-#include <Carbon/Carbon.h>
+#include <CoreGraphics/CoreGraphics.h>
 #include <stdint.h>
 
 #include "core/fxcrt/retain_ptr.h"
--- a/core/fpdfapi/font/cpdf_type1font.cpp
+++ b/core/fpdfapi/font/cpdf_type1font.cpp
@@ -19,7 +19,7 @@
 #include "core/fxge/fx_freetype.h"
 
 #if BUILDFLAG(IS_APPLE)
-#include <Carbon/Carbon.h>
+#include <CoreGraphics/CoreGraphics.h>
 #endif  // BUILDFLAG(IS_APPLE)
 
 namespace {