From a2d699f1462050833f959ebcf24853c2a6a10f72 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 23 May 2016 17:19:20 -0700 Subject: Rename IFX_Unknown to IFX_Retainable. Rename addRef() method to Retain() to match Release(). This CL does not convert to CFX_RetainPtrs, which will happen in a follow-on. Review-Url: https://codereview.chromium.org/2005933002 --- xfa/fde/css/fde_css.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fde/css/fde_css.h') diff --git a/xfa/fde/css/fde_css.h b/xfa/fde/css/fde_css.h index b949ace778..551f8f8962 100644 --- a/xfa/fde/css/fde_css.h +++ b/xfa/fde/css/fde_css.h @@ -739,7 +739,7 @@ class IFDE_CSSFontFaceRule : public IFDE_CSSRule { virtual CFDE_CSSDeclaration* GetDeclaration() = 0; }; -class IFDE_CSSStyleSheet : public IFX_Unknown { +class IFDE_CSSStyleSheet : public IFX_Retainable { public: static IFDE_CSSStyleSheet* LoadHTMLStandardStyleSheet(); static IFDE_CSSStyleSheet* LoadFromStream( @@ -882,7 +882,7 @@ class IFDE_CSSParagraphStyle { virtual void SetLetterSpacing(const FDE_CSSLENGTH& letterSpacing) = 0; }; -class IFDE_CSSComputedStyle : public IFX_Unknown { +class IFDE_CSSComputedStyle : public IFX_Retainable { public: virtual void Reset() = 0; virtual IFDE_CSSFontStyle* GetFontStyles() = 0; -- cgit v1.2.3