diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-22 11:22:59 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-22 11:22:59 -0800 |
commit | 2373da22a2e754ae9b0e7d913da0ce2e925f76a0 (patch) | |
tree | c60df7975521ed686d5c0ffc5dac266024537619 /xfa/src/fgas/include | |
parent | 95bbe1341939957ec20b2b309e6dfa6f522dd06e (diff) | |
download | pdfium-2373da22a2e754ae9b0e7d913da0ce2e925f76a0.tar.xz |
Remove CFX_ThreadLock (its a no-op)
We wouldn't want to imply that any of this is
thread-safe ...
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1724483002 .
Diffstat (limited to 'xfa/src/fgas/include')
-rw-r--r-- | xfa/src/fgas/include/fx_stm.h | 2 | ||||
-rw-r--r-- | xfa/src/fgas/include/fx_utl.h | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/xfa/src/fgas/include/fx_stm.h b/xfa/src/fgas/include/fx_stm.h index 0f0385b5ec..cfd863d08c 100644 --- a/xfa/src/fgas/include/fx_stm.h +++ b/xfa/src/fgas/include/fx_stm.h @@ -64,8 +64,6 @@ class IFX_Stream { virtual int32_t GetBOM(uint8_t bom[4]) const = 0; virtual FX_WORD GetCodePage() const = 0; virtual FX_WORD SetCodePage(FX_WORD wCodePage) = 0; - virtual void Lock() = 0; - virtual void Unlock() = 0; virtual IFX_Stream* CreateSharedStream(FX_DWORD dwAccess, int32_t iOffset, int32_t iLength) = 0; diff --git a/xfa/src/fgas/include/fx_utl.h b/xfa/src/fgas/include/fx_utl.h index c8d943e920..f6c7c09f13 100644 --- a/xfa/src/fgas/include/fx_utl.h +++ b/xfa/src/fgas/include/fx_utl.h @@ -10,7 +10,6 @@ #include "xfa/src/fgas/include/fx_mem.h" #include "core/include/fxcrt/fx_coordinates.h" // For CFX_Rect. -class CFX_ThreadLock; class CFX_BaseArray; template <class baseType> class CFX_BaseArrayTemplate; @@ -36,13 +35,6 @@ template <class baseType> class CFX_CPLTree; class FX_BASEARRAYDATA; -class CFX_ThreadLock { - public: - CFX_ThreadLock(); - virtual ~CFX_ThreadLock(); - void Lock(); - void Unlock(); -}; class CFX_BaseArray : public CFX_Target { protected: CFX_BaseArray(int32_t iGrowSize, int32_t iBlockSize); |