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>
diff --git a/xfa/fde/fde_gedevice.h b/xfa/fde/fde_gedevice.h
index 35efab2..170bef5 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_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;