Index: xfa/fxfa/parser/cxfa_widetextread.h |
diff --git a/xfa/fxfa/parser/cxfa_widetextread.h b/xfa/fxfa/parser/cxfa_widetextread.h |
index d3d3b3792a10106e3b5f8a6a802d9d462810aa38..fc2994921509d1a8f36ed7b7333cf4e0c000b7df 100644 |
--- a/xfa/fxfa/parser/cxfa_widetextread.h |
+++ b/xfa/fxfa/parser/cxfa_widetextread.h |
@@ -7,12 +7,11 @@ |
#ifndef XFA_FXFA_PARSER_CXFA_WIDETEXTREAD_H_ |
#define XFA_FXFA_PARSER_CXFA_WIDETEXTREAD_H_ |
+#include "core/fxcrt/cfx_retain_ptr.h" |
#include "xfa/fgas/crt/fgas_stream.h" |
class CXFA_WideTextRead : public IFGAS_Stream { |
public: |
- explicit CXFA_WideTextRead(const CFX_WideString& wsBuffer); |
- |
// IFGAS_Stream |
uint32_t GetAccessModes() const override; |
int32_t GetLength() const override; |
@@ -35,6 +34,12 @@ class CXFA_WideTextRead : public IFGAS_Stream { |
CFX_WideString GetSrcText() const; |
protected: |
+ template <typename T, typename... Args> |
+ friend CFX_RetainPtr<T> pdfium::MakeRetain(Args&&... args); |
+ |
+ explicit CXFA_WideTextRead(const CFX_WideString& wsBuffer); |
+ ~CXFA_WideTextRead(); |
+ |
CFX_WideString m_wsBuffer; |
int32_t m_iPosition; |
}; |