From 9fb27cb9797937499c9678bc74cf7846cbf5d2b8 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 10 Nov 2015 09:41:05 -0800 Subject: Fix relative includes within core/ R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1427633010 . --- core/src/fxge/skia/fx_skia_blitter_new.cpp | 6 ++++-- core/src/fxge/skia/fx_skia_device.cpp | 26 ++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'core/src/fxge/skia') diff --git a/core/src/fxge/skia/fx_skia_blitter_new.cpp b/core/src/fxge/skia/fx_skia_blitter_new.cpp index a3ed75b9cb..ed7b1c74bf 100644 --- a/core/src/fxge/skia/fx_skia_blitter_new.cpp +++ b/core/src/fxge/skia/fx_skia_blitter_new.cpp @@ -2,12 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "../../../include/fxge/fx_ge.h" +#include "core/include/fxge/fx_ge.h" + //#define _SKIA_SUPPORT_ #if defined(_SKIA_SUPPORT_) -#include "../../../include/fxcodec/fx_codec.h" #include "SkBlitter.h" +#include "core/include/fxcodec/fx_codec.h" #include "fx_skia_blitter_new.h" + // We use our own renderer here to make it simple void CFX_SkiaRenderer::blitAntiH(int x, int y, diff --git a/core/src/fxge/skia/fx_skia_device.cpp b/core/src/fxge/skia/fx_skia_device.cpp index fcd8e9871e..7cce7b3326 100644 --- a/core/src/fxge/skia/fx_skia_device.cpp +++ b/core/src/fxge/skia/fx_skia_device.cpp @@ -2,13 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "../../../include/fxge/fx_ge.h" -//#define _SKIA_SUPPORT_ +#include "core/include/fxge/fx_ge.h" + #if defined(_SKIA_SUPPORT_) -#include "../../../include/fxcodec/fx_codec.h" +#include "core/include/fxcodec/fx_codec.h" -//#define _FOXIT_DEBUG_ -//#define _FOXIT_BENCHMARK_ +#include "SkDashPathEffect.h" +#include "SkTLazy.h" +#include "SkScan.h" +#include "SkRasterClip.h" +#include "SkStroke.h" + +#include "core/src/fxge/agg/include/fx_agg_driver.h" +#include "fx_skia_blitter_new.h" +#include "fx_skia_device.h" extern "C" { extern void FX_OUTPUT_LOG_FUNC(const char*, ...); @@ -31,15 +38,6 @@ extern int FX_GET_TICK_FUNC(); #define FOXIT_DEBUG5(msg, para1, para2, para3, param4) #endif -#include "SkDashPathEffect.h" -#include "SkTLazy.h" -#include "SkScan.h" -#include "SkRasterClip.h" -#include "SkStroke.h" - -#include "fx_skia_blitter_new.h" -#include "../agg/fx_agg_driver.h" -#include "fx_skia_device.h" /// Run-length-encoded supersampling antialiased blitter. class SuperBlitter_skia { public: -- cgit v1.2.3