diff options
author | tsepez <tsepez@chromium.org> | 2016-04-15 14:44:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 14:44:20 -0700 |
commit | db152695e49c24083874a5e3639a5f967b69b0f3 (patch) | |
tree | a2891a0dc380b15f4313be465112805bef83d550 /xfa/fde/css/fde_csscache.h | |
parent | e0ad6a4af5d9c5f5671a9ecd0aa437dedae52b16 (diff) | |
download | pdfium-db152695e49c24083874a5e3639a5f967b69b0f3.tar.xz |
Remove unused IFDE_CSSStyleSheetCache/CFDE_CSSStyleSheetCache.
Review URL: https://codereview.chromium.org/1896553004
Diffstat (limited to 'xfa/fde/css/fde_csscache.h')
-rw-r--r-- | xfa/fde/css/fde_csscache.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/xfa/fde/css/fde_csscache.h b/xfa/fde/css/fde_csscache.h index 7d1ace8ac1..41908c1c6c 100644 --- a/xfa/fde/css/fde_csscache.h +++ b/xfa/fde/css/fde_csscache.h @@ -21,30 +21,6 @@ class FDE_CSSCacheItem : public CFX_Target { uint32_t dwActivity; }; -class CFDE_CSSStyleSheetCache : public IFDE_CSSStyleSheetCache, - public CFX_Target { - public: - CFDE_CSSStyleSheetCache(); - ~CFDE_CSSStyleSheetCache(); - virtual void Release() { delete this; } - - virtual void SetMaxItems(int32_t iMaxCount = 5) { - FXSYS_assert(iMaxCount >= 3); - m_iMaxItems = iMaxCount; - } - - virtual void AddStyleSheet(const CFX_ByteStringC& szKey, - IFDE_CSSStyleSheet* pStyleSheet); - virtual IFDE_CSSStyleSheet* GetStyleSheet(const CFX_ByteStringC& szKey) const; - virtual void RemoveStyleSheet(const CFX_ByteStringC& szKey); - - protected: - void RemoveLowestActivityItem(); - std::map<CFX_ByteString, FDE_CSSCacheItem*> m_Stylesheets; - IFX_MEMAllocator* m_pFixedStore; - int32_t m_iMaxItems; -}; - class FDE_CSSTagCache : public CFX_Target { public: FDE_CSSTagCache(FDE_CSSTagCache* parent, IFDE_CSSTagProvider* tag); |