Index: xfa/fxfa/parser/cxfa_simple_parser.cpp |
diff --git a/xfa/fxfa/parser/cxfa_simple_parser.cpp b/xfa/fxfa/parser/cxfa_simple_parser.cpp |
index a9025fa42a74777e19888bdf49f533532cebd0b7..2329e86874fd910d72ec921e57fd5a42078056b2 100644 |
--- a/xfa/fxfa/parser/cxfa_simple_parser.cpp |
+++ b/xfa/fxfa/parser/cxfa_simple_parser.cpp |
@@ -277,8 +277,9 @@ void CXFA_SimpleParser::SetFactory(CXFA_Document* pFactory) { |
m_pFactory = pFactory; |
} |
-int32_t CXFA_SimpleParser::StartParse(IFX_SeekableReadStream* pStream, |
- XFA_XDPPACKET ePacketID) { |
+int32_t CXFA_SimpleParser::StartParse( |
+ const CFX_RetainPtr<IFX_SeekableReadStream>& pStream, |
+ XFA_XDPPACKET ePacketID) { |
CloseParser(); |
m_pFileRead = pStream; |
m_pStream.reset(IFGAS_Stream::CreateStream( |