Chromium Code Reviews| Index: xfa/fde/css/fde_cssdeclaration.h |
| diff --git a/xfa/fde/css/fde_cssdeclaration.h b/xfa/fde/css/fde_cssdeclaration.h |
| index 2a3031ea695147f00d39e4c03ee4f890c96dce6d..55262b14ca65c511166652f55b151e72d1a2951e 100644 |
| --- a/xfa/fde/css/fde_cssdeclaration.h |
| +++ b/xfa/fde/css/fde_cssdeclaration.h |
| @@ -30,24 +30,25 @@ struct FDE_CSSPROPERTYARGS { |
| FDE_LPCCSSPROPERTYTABLE pProperty; |
| }; |
| -class CFDE_CSSDeclaration : public IFDE_CSSDeclaration, public CFX_Target { |
| +class CFDE_CSSDeclaration : public CFX_Target { |
| public: |
| CFDE_CSSDeclaration() |
| - : m_pFirstProperty(NULL), |
| - m_pLastProperty(NULL), |
| - m_pFirstCustom(NULL), |
| - m_pLastCustom(NULL) {} |
| - virtual IFDE_CSSValue* GetProperty(FDE_CSSPROPERTY eProperty, |
| - FX_BOOL& bImportant) const; |
| - virtual FX_POSITION GetStartPosition() const; |
| - virtual void GetNextProperty(FX_POSITION& pos, |
| - FDE_CSSPROPERTY& eProperty, |
| - IFDE_CSSValue*& pValue, |
| - FX_BOOL& bImportant) const; |
| - virtual FX_POSITION GetStartCustom() const; |
| - virtual void GetNextCustom(FX_POSITION& pos, |
| - CFX_WideString& wsName, |
| - CFX_WideString& wsValue) const; |
| + : m_pFirstProperty(nullptr), |
| + m_pLastProperty(nullptr), |
| + m_pFirstCustom(nullptr), |
| + m_pLastCustom(nullptr) {} |
| + |
| + IFDE_CSSValue* GetProperty(FDE_CSSPROPERTY eProperty, |
| + FX_BOOL& bImportant) const; |
| + FX_POSITION GetStartPosition() const; |
| + void GetNextProperty(FX_POSITION& pos, |
| + FDE_CSSPROPERTY& eProperty, |
| + IFDE_CSSValue*& pValue, |
| + FX_BOOL& bImportant) const; |
| + FX_POSITION GetStartCustom() const; |
| + void GetNextCustom(FX_POSITION& pos, |
| + CFX_WideString& wsName, |
| + CFX_WideString& wsValue) const; |
| FX_BOOL AddProperty(const FDE_CSSPROPERTYARGS* pArgs, |
| const FX_WCHAR* pszValue, |
| int32_t iValueLen); |
| @@ -149,10 +150,12 @@ class CFDE_CSSDeclaration : public IFDE_CSSDeclaration, public CFX_Target { |
| FX_FLOAT fValue) const; |
| IFDE_CSSPrimitiveValue* NewEnumValue(IFX_MEMAllocator* pStaticStore, |
| FDE_CSSPROPERTYVALUE eValue) const; |
| + |
| FDE_CSSPropertyHolder* m_pFirstProperty; |
| FDE_CSSPropertyHolder* m_pLastProperty; |
| FDE_CSSCustomProperty* m_pFirstCustom; |
| FDE_CSSCustomProperty* m_pLastCustom; |
| }; |
| +typedef CFX_ArrayTemplate<CFDE_CSSDeclaration*> CFDE_CSSDeclarationArray; |
|
Tom Sepez
2016/04/27 22:00:01
nit: using
dsinclair
2016/04/28 13:19:50
Done.
|
| #endif // XFA_FDE_CSS_FDE_CSSDECLARATION_H_ |