diff options
Diffstat (limited to 'xfa/fxfa/app/cxfa_textuserdata.h')
-rw-r--r-- | xfa/fxfa/app/cxfa_textuserdata.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fxfa/app/cxfa_textuserdata.h b/xfa/fxfa/app/cxfa_textuserdata.h index 83f762ddbe..1eb3b8acb3 100644 --- a/xfa/fxfa/app/cxfa_textuserdata.h +++ b/xfa/fxfa/app/cxfa_textuserdata.h @@ -14,8 +14,9 @@ class CXFA_LinkUserData; class CXFA_TextUserData : public IFX_Retainable { public: - explicit CXFA_TextUserData(CFDE_CSSComputedStyle* pStyle); - CXFA_TextUserData(CFDE_CSSComputedStyle* pStyle, + explicit CXFA_TextUserData( + const CFX_RetainPtr<CFDE_CSSComputedStyle>& pStyle); + CXFA_TextUserData(const CFX_RetainPtr<CFDE_CSSComputedStyle>& pStyle, CXFA_LinkUserData* pLinkData); ~CXFA_TextUserData() override; @@ -23,7 +24,7 @@ class CXFA_TextUserData : public IFX_Retainable { uint32_t Retain() override; uint32_t Release() override; - CFDE_CSSComputedStyle* m_pStyle; + CFX_RetainPtr<CFDE_CSSComputedStyle> m_pStyle; CXFA_LinkUserData* m_pLinkData; protected: |