From 788ac38e25fc6c000b36ec1722764673e192dea3 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 19 May 2016 21:06:16 -0700 Subject: Use std::unordered_map for CFDE_CSSStyleSheet::m_StringCache Get rid of some LPC typedefs while we're at it. Review-Url: https://codereview.chromium.org/1990363003 --- xfa/fde/css/fde_cssdeclaration.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xfa/fde/css/fde_cssdeclaration.h') diff --git a/xfa/fde/css/fde_cssdeclaration.h b/xfa/fde/css/fde_cssdeclaration.h index 4fa6858f97..d33e7107c8 100644 --- a/xfa/fde/css/fde_cssdeclaration.h +++ b/xfa/fde/css/fde_cssdeclaration.h @@ -7,6 +7,8 @@ #ifndef XFA_FDE_CSS_FDE_CSSDECLARATION_H_ #define XFA_FDE_CSS_FDE_CSSDECLARATION_H_ +#include + #include "xfa/fde/css/fde_cssdatatable.h" class FDE_CSSPropertyHolder : public CFX_Target { @@ -26,8 +28,8 @@ class FDE_CSSCustomProperty : public CFX_Target { struct FDE_CSSPROPERTYARGS { IFX_MemoryAllocator* pStaticStore; - CFX_MapPtrToPtr* pStringCache; - FDE_LPCCSSPROPERTYTABLE pProperty; + std::unordered_map* pStringCache; + const FDE_CSSPROPERTYTABLE* pProperty; }; class CFDE_CSSDeclaration : public CFX_Target { -- cgit v1.2.3