summaryrefslogtreecommitdiff
path: root/core/fxge/include
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-20 11:41:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-20 11:41:56 -0700
commit4701fcddeddfef7bccbceaf0f439dee82c3639f0 (patch)
treecdad6c0635837c9ff4d4fcfa3ad192640d4dd9d2 /core/fxge/include
parentbff506d3b5e03891c137d9fe18f65cae112ebf2a (diff)
downloadpdfium-4701fcddeddfef7bccbceaf0f439dee82c3639f0.tar.xz
Fix clang_use_chrome_plugin for Mac and Skia builds
These changes are specific to Mac and Skia builds. They are needed for these builds to compile with clang_use_chrome_plugin. BUG=pdfium:469 Review-Url: https://codereview.chromium.org/2081523002
Diffstat (limited to 'core/fxge/include')
-rw-r--r--core/fxge/include/fx_ge_apple.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/fxge/include/fx_ge_apple.h b/core/fxge/include/fx_ge_apple.h
index 57acef653c..6dce86697f 100644
--- a/core/fxge/include/fx_ge_apple.h
+++ b/core/fxge/include/fx_ge_apple.h
@@ -8,10 +8,14 @@
#define CORE_FXGE_INCLUDE_FX_GE_APPLE_H_
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
+
+#include "core/fxge/include/fx_ge.h"
+
class CFX_QuartzDevice : public CFX_RenderDevice {
public:
CFX_QuartzDevice();
- ~CFX_QuartzDevice();
+ ~CFX_QuartzDevice() override;
+
FX_BOOL Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY);
FX_BOOL Attach(CFX_DIBitmap* pBitmap);
FX_BOOL Create(int32_t width, int32_t height, FXDIB_Format format);