Index: xfa/src/fgas/src/crt/fx_stream.h |
diff --git a/xfa/src/fgas/src/crt/fx_stream.h b/xfa/src/fgas/src/crt/fx_stream.h |
index 15646a5de91f8abaaa4163c61a1da7507d028f75..d58b52c1ac571beaabe423fdde0dd0f585936b5e 100644 |
--- a/xfa/src/fgas/src/crt/fx_stream.h |
+++ b/xfa/src/fgas/src/crt/fx_stream.h |
@@ -18,7 +18,7 @@ class CFX_TextStream; |
class CFX_FileRead; |
class CFX_FileWrite; |
class CFX_BufferAccImp; |
-class CFX_StreamImp : public CFX_ThreadLock { |
+class CFX_StreamImp { |
public: |
virtual void Release() { delete this; } |
virtual FX_DWORD GetAccessModes() const { return m_dwAccess; } |
@@ -170,7 +170,7 @@ enum FX_STREAMTYPE { |
FX_STREAMTYPE_Stream, |
FX_STREAMTYPE_BufferRead, |
}; |
-class CFX_Stream : public IFX_Stream, public CFX_ThreadLock { |
+class CFX_Stream : public IFX_Stream { |
public: |
CFX_Stream(); |
~CFX_Stream(); |
@@ -201,8 +201,6 @@ class CFX_Stream : public IFX_Stream, public CFX_ThreadLock { |
virtual int32_t GetBOM(uint8_t bom[4]) const; |
virtual FX_WORD GetCodePage() const; |
virtual FX_WORD SetCodePage(FX_WORD wCodePage); |
- virtual void Lock() { CFX_ThreadLock::Lock(); } |
- virtual void Unlock() { CFX_ThreadLock::Unlock(); } |
virtual IFX_Stream* CreateSharedStream(FX_DWORD dwAccess, |
int32_t iOffset, |
int32_t iLength); |
@@ -217,7 +215,7 @@ class CFX_Stream : public IFX_Stream, public CFX_ThreadLock { |
int32_t m_iLength; |
int32_t m_iRefCount; |
}; |
-class CFX_TextStream : public IFX_Stream, public CFX_ThreadLock { |
+class CFX_TextStream : public IFX_Stream { |
public: |
CFX_TextStream(IFX_Stream* pStream, FX_BOOL bDelStream); |
~CFX_TextStream(); |
@@ -244,9 +242,6 @@ class CFX_TextStream : public IFX_Stream, public CFX_ThreadLock { |
virtual FX_WORD GetCodePage() const; |
virtual FX_WORD SetCodePage(FX_WORD wCodePage); |
- virtual void Lock() { CFX_ThreadLock::Lock(); } |
- virtual void Unlock() { CFX_ThreadLock::Unlock(); } |
- |
virtual IFX_Stream* CreateSharedStream(FX_DWORD dwAccess, |
int32_t iOffset, |
int32_t iLength); |