Index: core/fxcrt/fx_xml.h |
diff --git a/core/fxcrt/fx_xml.h b/core/fxcrt/fx_xml.h |
index 03337d0142aee050ea50d768621700fe166bd7c2..7f42a7fa9b1827a2006fbabb55fb373bea8e9124 100644 |
--- a/core/fxcrt/fx_xml.h |
+++ b/core/fxcrt/fx_xml.h |
@@ -58,12 +58,13 @@ class CXML_Element { |
size_t size, |
bool bSaveSpaceChars = false, |
FX_FILESIZE* pParsedSize = nullptr); |
- static CXML_Element* Parse(IFX_SeekableReadStream* pFile, |
- bool bSaveSpaceChars = false, |
- FX_FILESIZE* pParsedSize = nullptr); |
- static CXML_Element* Parse(IFX_BufferedReadStream* pBuffer, |
+ static CXML_Element* Parse(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile, |
bool bSaveSpaceChars = false, |
FX_FILESIZE* pParsedSize = nullptr); |
+ static CXML_Element* Parse( |
+ const CFX_RetainPtr<IFX_BufferedReadStream>& pBuffer, |
+ bool bSaveSpaceChars = false, |
+ FX_FILESIZE* pParsedSize = nullptr); |
CXML_Element(const CFX_ByteStringC& qSpace, const CFX_ByteStringC& tagName); |
explicit CXML_Element(const CFX_ByteStringC& qTagName); |