summaryrefslogtreecommitdiff
path: root/core/fxge/ge
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/ge
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/ge')
-rw-r--r--core/fxge/ge/fx_ge_device.cpp1
-rw-r--r--core/fxge/ge/fx_ge_text.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/fxge/ge/fx_ge_device.cpp b/core/fxge/ge/fx_ge_device.cpp
index adf68a8749..00cc541c22 100644
--- a/core/fxge/ge/fx_ge_device.cpp
+++ b/core/fxge/ge/fx_ge_device.cpp
@@ -5,6 +5,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fxge/include/fx_ge.h"
+#include "core/fxge/include/ifx_renderdevicedriver.h"
CFX_RenderDevice::CFX_RenderDevice()
: m_pBitmap(nullptr),
diff --git a/core/fxge/ge/fx_ge_text.cpp b/core/fxge/ge/fx_ge_text.cpp
index cf349eb9c0..9f635edacc 100644
--- a/core/fxge/ge/fx_ge_text.cpp
+++ b/core/fxge/ge/fx_ge_text.cpp
@@ -11,6 +11,7 @@
#include "core/fxge/ge/fx_text_int.h"
#include "core/fxge/include/fx_freetype.h"
#include "core/fxge/include/fx_ge.h"
+#include "core/fxge/include/ifx_renderdevicedriver.h"
#ifdef _SKIA_SUPPORT_
#include "third_party/skia/include/core/SkStream.h"