summaryrefslogtreecommitdiff
path: root/core/fxge/apple/apple_int.h
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-21 11:24:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-21 11:24:24 -0700
commit095d346ff71ebe0385dfe7fa77baad6a1ce91fcb (patch)
tree2cfdb14ff75fb94607eea2306c56e282b25edf31 /core/fxge/apple/apple_int.h
parent8f93cc640473a7d2855c3bc9bfd5169a8b1ca76c (diff)
downloadpdfium-095d346ff71ebe0385dfe7fa77baad6a1ce91fcb.tar.xz
Move ifx_renderdevicedriver to a separate file to share
Move ifx_renderdevicedriver class to its own file to share with multiple devices to reduce code duplication. Review-Url: https://codereview.chromium.org/2078783002
Diffstat (limited to 'core/fxge/apple/apple_int.h')
-rw-r--r--core/fxge/apple/apple_int.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fxge/apple/apple_int.h b/core/fxge/apple/apple_int.h
index c19282b12b..0462938d5a 100644
--- a/core/fxge/apple/apple_int.h
+++ b/core/fxge/apple/apple_int.h
@@ -11,7 +11,8 @@
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
-#include "core/fxge/include/fx_ge.h"
+#include "core/fxge/include/fx_dib.h"
+#include "core/fxge/include/ifx_renderdevicedriver.h"
#if _FX_OS_ == _FX_MACOSX_
#include <Carbon/Carbon.h>
@@ -85,7 +86,7 @@ class CFX_QuartzDeviceDriver : public IFX_RenderDeviceDriver {
~CFX_QuartzDeviceDriver() override;
// IFX_RenderDeviceDriver
- int GetDeviceCaps(int caps_id) override;
+ int GetDeviceCaps(int caps_id) const override;
CFX_Matrix GetCTM() const override;
void SaveState() override;
void RestoreState(bool bKeepSaved) override;