From e02b2bc896b0872ce1a9d0997946b07dc76b9f7b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 9 May 2017 10:12:39 -0700 Subject: Use CXFA_TextUserData in place of CFX_Retainable where possible. Layering prevents the (newly-moved) CFX_Char from knowing about this class, so some casting is still required. Change-Id: I5b7556fdfa80d09e5116b171b01ab5e707763bf0 Reviewed-on: https://pdfium-review.googlesource.com/5172 Commit-Queue: dsinclair Reviewed-by: dsinclair --- xfa/fgas/layout/cfx_breakpiece.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xfa/fgas/layout/cfx_breakpiece.h') diff --git a/xfa/fgas/layout/cfx_breakpiece.h b/xfa/fgas/layout/cfx_breakpiece.h index 87627fef40..1c51b1e42a 100644 --- a/xfa/fgas/layout/cfx_breakpiece.h +++ b/xfa/fgas/layout/cfx_breakpiece.h @@ -12,6 +12,7 @@ #include "core/fxcrt/cfx_char.h" #include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/fx_string.h" +#include "xfa/fxfa/app/cxfa_textuserdata.h" class CFX_BreakPiece { public: @@ -39,7 +40,7 @@ class CFX_BreakPiece { uint32_t m_dwIdentity; uint32_t m_dwCharStyles; std::vector* m_pChars; // not owned. - CFX_RetainPtr m_pUserData; + CFX_RetainPtr m_pUserData; }; #endif // XFA_FGAS_LAYOUT_CFX_BREAKPIECE_H_ -- cgit v1.2.3