Index: core/fxge/fx_font.h |
diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h |
index 6bb4bdea348ab619a7d67b346e12b2cb425fc54f..96396af15e9997bce1e452c8d52f33525255eef9 100644 |
--- a/core/fxge/fx_font.h |
+++ b/core/fxge/fx_font.h |
@@ -111,7 +111,7 @@ class CFX_Font { |
CFX_SubstFont* GetSubstFont() const { return m_pSubstFont.get(); } |
#ifdef PDF_ENABLE_XFA |
- bool LoadFile(IFX_SeekableReadStream* pFile, |
+ bool LoadFile(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile, |
int nFaceIndex = 0, |
int* pFaceCount = nullptr); |