Index: core/fxge/agg/fx_agg_driver.h |
diff --git a/core/fxge/agg/fx_agg_driver.h b/core/fxge/agg/fx_agg_driver.h |
index 7c2e98047fc1ce733ae0580dd752301039034838..15f9706b3f771561bbc83fa23b5396a82f324148 100644 |
--- a/core/fxge/agg/fx_agg_driver.h |
+++ b/core/fxge/agg/fx_agg_driver.h |
@@ -7,11 +7,12 @@ |
#ifndef CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
#define CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
-#include "core/fxge/include/fx_ge.h" |
+#include "core/fxge/include/ifx_renderdevicedriver.h" |
#include "third_party/agg23/agg_clip_liang_barsky.h" |
#include "third_party/agg23/agg_path_storage.h" |
#include "third_party/agg23/agg_rasterizer_scanline_aa.h" |
+class CFX_ClipRgn; |
class CFX_Matrix; |
class CFX_PathData; |
@@ -37,7 +38,7 @@ class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { |
void DestroyPlatform(); |
// IFX_RenderDeviceDriver |
- int GetDeviceCaps(int caps_id) override; |
+ int GetDeviceCaps(int caps_id) const override; |
void SaveState() override; |
void RestoreState(bool bKeepSaved) override; |
FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, |