| Index: core/fpdfapi/fpdf_font/cpdf_type3char.h
|
| diff --git a/core/fpdfapi/fpdf_font/cpdf_type3char.h b/core/fpdfapi/fpdf_font/cpdf_type3char.h
|
| index c67620b5f69c2980d0adb5d966a3d33bc32f9b39..7b101d317220b78baf0f8db073a5130680c94782 100644
|
| --- a/core/fpdfapi/fpdf_font/cpdf_type3char.h
|
| +++ b/core/fpdfapi/fpdf_font/cpdf_type3char.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3CHAR_H_
|
| #define CORE_FPDFAPI_FPDF_FONT_CPDF_TYPE3CHAR_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "core/fxcrt/include/fx_coordinates.h"
|
| #include "core/fxcrt/include/fx_system.h"
|
|
|
| @@ -22,8 +24,8 @@ class CPDF_Type3Char {
|
|
|
| FX_BOOL LoadBitmap(CPDF_RenderContext* pContext);
|
|
|
| - CPDF_Form* m_pForm;
|
| - CFX_DIBitmap* m_pBitmap;
|
| + std::unique_ptr<CPDF_Form> m_pForm;
|
| + std::unique_ptr<CFX_DIBitmap> m_pBitmap;
|
| FX_BOOL m_bColored;
|
| int m_Width;
|
| CFX_Matrix m_ImageMatrix;
|
|
|