diff options
Diffstat (limited to 'xfa/fxfa/app/cxfa_pieceline.h')
-rw-r--r-- | xfa/fxfa/app/cxfa_pieceline.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xfa/fxfa/app/cxfa_pieceline.h b/xfa/fxfa/app/cxfa_pieceline.h index 48dfdae04d..3e6bb99876 100644 --- a/xfa/fxfa/app/cxfa_pieceline.h +++ b/xfa/fxfa/app/cxfa_pieceline.h @@ -7,6 +7,9 @@ #ifndef XFA_FXFA_APP_CXFA_PIECELINE_H_ #define XFA_FXFA_APP_CXFA_PIECELINE_H_ +#include <memory> +#include <vector> + #include "core/fxcrt/fx_basic.h" class XFA_TextPiece; @@ -16,7 +19,7 @@ class CXFA_PieceLine { CXFA_PieceLine(); ~CXFA_PieceLine(); - CFX_ArrayTemplate<XFA_TextPiece*> m_textPieces; + std::vector<std::unique_ptr<XFA_TextPiece>> m_textPieces; CFX_ArrayTemplate<int32_t> m_charCounts; }; |