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_object.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_object.h')
-rw-r--r-- | xfa/fde/fde_object.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fde/fde_object.h b/xfa/fde/fde_object.h index bf1ec41dac..5c66b202b6 100644 --- a/xfa/fde/fde_object.h +++ b/xfa/fde/fde_object.h @@ -10,9 +10,8 @@ #include <cstdint> #include "core/fxge/fx_dib.h" -#include "xfa/fgas/crt/fgas_memory.h" -class CFDE_Brush : public CFX_Target { +class CFDE_Brush { public: CFDE_Brush() : m_Color(0xFF000000) {} @@ -23,10 +22,10 @@ class CFDE_Brush : public CFX_Target { FX_ARGB m_Color; }; -class CFDE_Pen : public CFX_Target { +class CFDE_Pen { public: CFDE_Pen() : m_Color(0) {} - ~CFDE_Pen() override {} + ~CFDE_Pen() {} FX_ARGB GetColor() const { return m_Color; } void SetColor(FX_ARGB color) { m_Color = color; } |