diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-01-10 16:38:10 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-10 21:53:32 +0000 |
commit | 0cb9b8cb094532ff868314350680d3fb0ca2fe51 (patch) | |
tree | 60e61f1e9547d5b99c010ee96b8c0ea7c0480e85 /xfa/fde/fde_gedevice.h | |
parent | 1f5d4988dcdac125e3e822d37c9086a5e4a3e224 (diff) | |
download | pdfium-0cb9b8cb094532ff868314350680d3fb0ca2fe51.tar.xz |
Strip out custom allocator code
This Cl replaces the custom IFX_MemoryAllocator code with new/delete as needed.
Change-Id: Ie786f607c9e0b3035ffd87733bc3e29a4b6426d9
Reviewed-on: https://pdfium-review.googlesource.com/2164
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/fde_gedevice.h')
-rw-r--r-- | xfa/fde/fde_gedevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fde/fde_gedevice.h b/xfa/fde/fde_gedevice.h index 35efab2b2d..170bef595f 100644 --- a/xfa/fde/fde_gedevice.h +++ b/xfa/fde/fde_gedevice.h @@ -8,7 +8,6 @@ #define XFA_FDE_FDE_GEDEVICE_H_ #include "core/fxge/cfx_renderdevice.h" -#include "xfa/fgas/crt/fgas_memory.h" #include "xfa/fgas/font/cfgas_gefont.h" class CFDE_Brush; @@ -16,10 +15,10 @@ class CFDE_Path; class CFDE_Pen; class CFX_GraphStateData; -class CFDE_RenderDevice : public CFX_Target { +class CFDE_RenderDevice { public: CFDE_RenderDevice(CFX_RenderDevice* pDevice, bool bOwnerDevice); - ~CFDE_RenderDevice() override; + ~CFDE_RenderDevice(); int32_t GetWidth() const; int32_t GetHeight() const; |