Index: xfa/fxfa/app/cxfa_pieceline.h |
diff --git a/xfa/fxfa/app/cxfa_pieceline.h b/xfa/fxfa/app/cxfa_pieceline.h |
index 48dfdae04d7555194ed793622458e3bb33cb630f..3e6bb99876a66bfaa40eee12d9505b8743fb8c17 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; |
}; |