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/css/fde_csscache.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/css/fde_csscache.h')
-rw-r--r-- | xfa/fde/css/fde_csscache.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/xfa/fde/css/fde_csscache.h b/xfa/fde/css/fde_csscache.h index 10f4d9e0fa..40494fade5 100644 --- a/xfa/fde/css/fde_csscache.h +++ b/xfa/fde/css/fde_csscache.h @@ -10,22 +10,21 @@ #include <map> #include "xfa/fde/css/fde_css.h" -#include "xfa/fgas/crt/fgas_memory.h" -class FDE_CSSCacheItem : public CFX_Target { +class FDE_CSSCacheItem { public: explicit FDE_CSSCacheItem(IFDE_CSSStyleSheet* p); - ~FDE_CSSCacheItem() override; + ~FDE_CSSCacheItem(); IFDE_CSSStyleSheet* pStylesheet; uint32_t dwActivity; }; -class FDE_CSSTagCache : public CFX_Target { +class FDE_CSSTagCache { public: FDE_CSSTagCache(FDE_CSSTagCache* parent, CXFA_CSSTagProvider* tag); FDE_CSSTagCache(const FDE_CSSTagCache& it); - ~FDE_CSSTagCache() override; + ~FDE_CSSTagCache(); FDE_CSSTagCache* GetParent() const { return pParent; } CXFA_CSSTagProvider* GetTag() const { return pTag; } @@ -50,10 +49,10 @@ class FDE_CSSTagCache : public CFX_Target { CFX_BaseArrayTemplate<uint32_t> dwClassHashs; }; -class CFDE_CSSAccelerator : public CFX_Target { +class CFDE_CSSAccelerator { public: CFDE_CSSAccelerator(); - ~CFDE_CSSAccelerator() override; + ~CFDE_CSSAccelerator(); void OnEnterTag(CXFA_CSSTagProvider* pTag); void OnLeaveTag(CXFA_CSSTagProvider* pTag); |