From 86688dea3b0d30741a95fd15b5f9ee57b2ae86f1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 22 May 2018 22:06:49 +0000 Subject: Make friend RetainPtr statements consistently public. Also make destructors private for RetainPtr sub-classes, and add missing destructors. Change-Id: I451bf0aae2dae943b1f450d0aa4ca5124dc578fd Reviewed-on: https://pdfium-review.googlesource.com/32853 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- core/fxcrt/css/cfx_csscomputedstyle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/fxcrt/css') diff --git a/core/fxcrt/css/cfx_csscomputedstyle.h b/core/fxcrt/css/cfx_csscomputedstyle.h index 4b44a6d87c..5080a7a3c2 100644 --- a/core/fxcrt/css/cfx_csscomputedstyle.h +++ b/core/fxcrt/css/cfx_csscomputedstyle.h @@ -55,6 +55,9 @@ class CFX_CSSComputedStyle : public Retainable { bool m_bHasPadding; }; + template + friend RetainPtr pdfium::MakeRetain(Args&&... args); + int32_t CountFontFamilies() const; const WideString GetFontFamily(int32_t index) const; uint16_t GetFontWeight() const; @@ -97,9 +100,6 @@ class CFX_CSSComputedStyle : public Retainable { NonInheritedData m_NonInheritedData; private: - template - friend RetainPtr pdfium::MakeRetain(Args&&... args); - CFX_CSSComputedStyle(); ~CFX_CSSComputedStyle() override; -- cgit v1.2.3