From c9347083c8b813454e971ce9e648cf7d8b25d60b Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 3 Oct 2016 06:14:50 -0700 Subject: Remove _FX_OS_ checks in core/fxge/win32/. All the files are already excluded by the build system. Review-Url: https://codereview.chromium.org/2387863002 --- core/fxge/win32/fx_win32_device.cpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'core/fxge/win32/fx_win32_device.cpp') diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index 8e689240dd..f0eb2dbce2 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -4,22 +4,15 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "core/fxcrt/fx_system.h" +#include #include #include #include -#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ -#include - #include "core/fxcodec/fx_codec.h" #include "core/fxcrt/fx_memory.h" - -#ifndef _SKIA_SUPPORT_ -#include "core/fxge/agg/fx_agg_driver.h" -#endif - +#include "core/fxcrt/fx_system.h" #include "core/fxge/cfx_fontmapper.h" #include "core/fxge/cfx_gemodule.h" #include "core/fxge/cfx_graphstatedata.h" @@ -36,6 +29,10 @@ #include "core/fxge/win32/win32_int.h" #include "third_party/base/stl_util.h" +#ifndef _SKIA_SUPPORT_ +#include "core/fxge/agg/fx_agg_driver.h" +#endif + namespace { const struct { @@ -1392,5 +1389,3 @@ IFX_RenderDeviceDriver* CFX_WindowsDevice::CreateDriver(HDC hDC) { return new CGdiPrinterDriver(hDC); return new CGdiDisplayDriver(hDC); } - -#endif // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_ -- cgit v1.2.3