From 095d346ff71ebe0385dfe7fa77baad6a1ce91fcb Mon Sep 17 00:00:00 2001 From: weili Date: Tue, 21 Jun 2016 11:24:24 -0700 Subject: 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 --- core/fxge/ge/fx_ge_device.cpp | 1 + core/fxge/ge/fx_ge_text.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'core/fxge/ge') 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" -- cgit v1.2.3