summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_type3cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/render/cpdf_type3cache.h')
-rw-r--r--core/fpdfapi/render/cpdf_type3cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_type3cache.h b/core/fpdfapi/render/cpdf_type3cache.h
index 0b3cdcbfa4..dc3e91b359 100644
--- a/core/fpdfapi/render/cpdf_type3cache.h
+++ b/core/fpdfapi/render/cpdf_type3cache.h
@@ -8,6 +8,7 @@
#define CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
#include <map>
+#include <memory>
#include "core/fpdfapi/font/cpdf_type3font.h"
#include "core/fxcrt/cfx_retain_ptr.h"
@@ -38,7 +39,7 @@ class CPDF_Type3Cache : public CFX_Retainable {
float retinaScaleY);
CPDF_Type3Font* const m_pFont;
- std::map<CFX_ByteString, CPDF_Type3Glyphs*> m_SizeMap;
+ std::map<CFX_ByteString, std::unique_ptr<CPDF_Type3Glyphs>> m_SizeMap;
};
#endif // CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_