summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-17 13:48:09 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-17 13:48:09 -0800
commitfed9dd90c086c854ef13440e6022602eb9f91cfc (patch)
treeb72d0a996e26aaf342904a3da8b709dc81270138 /core/src
parent761660c4074269ac806d06c9bef70e4e9fb0eb29 (diff)
downloadpdfium-fed9dd90c086c854ef13440e6022602eb9f91cfc.tar.xz
FX_NAMESPACE_DECLARE pointless.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1534003002 .
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fxge/agg/include/fx_agg_driver.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/src/fxge/agg/include/fx_agg_driver.h b/core/src/fxge/agg/include/fx_agg_driver.h
index 80febe1b4e..71569749fb 100644
--- a/core/src/fxge/agg/include/fx_agg_driver.h
+++ b/core/src/fxge/agg/include/fx_agg_driver.h
@@ -19,9 +19,10 @@ class CAgg_PathData {
public:
CAgg_PathData() {}
~CAgg_PathData() {}
- FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData;
void BuildPath(const CFX_PathData* pPathData,
const CFX_Matrix* pObject2Device);
+
+ agg::path_storage m_PathData;
};
class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver {
public:
@@ -122,16 +123,14 @@ class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver {
void* pIccTransform) override;
int GetDriverType() override { return 1; }
- FX_BOOL RenderRasterizer(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) &
- rasterizer,
+ FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer,
FX_DWORD color,
FX_BOOL bFullCover,
FX_BOOL bGroupKnockout,
int alpha_flag,
void* pIccTransform);
- void SetClipMask(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) &
- rasterizer);
+ void SetClipMask(agg::rasterizer_scanline_aa& rasterizer);
virtual uint8_t* GetBuffer() const { return m_pBitmap->GetBuffer(); }