Index: xfa/fgas/font/cfgas_gefont.h |
diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h |
index 2b4179e711d772c8c2479dab27f390e9aec5dc49..b4fcf25ae19932f3d9fa543c8ee31e26ecf82a79 100644 |
--- a/xfa/fgas/font/cfgas_gefont.h |
+++ b/xfa/fgas/font/cfgas_gefont.h |
@@ -98,9 +98,7 @@ class CFGAS_GEFont { |
int32_t m_iRefCount; |
bool m_bExternalFont; |
std::unique_ptr<IFGAS_Stream, ReleaseDeleter<IFGAS_Stream>> m_pStream; |
- std::unique_ptr<IFX_SeekableReadStream, |
- ReleaseDeleter<IFX_SeekableReadStream>> |
- m_pFileRead; |
+ CFX_RetainPtr<IFX_SeekableReadStream> m_pFileRead; |
std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding; |
std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap; |
std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray; |