diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-10 17:29:09 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-10 21:59:15 +0000 |
commit | 0c820a2c5e2c197c0f436f2ac9e4f49207a79c4f (patch) | |
tree | 573790ed2d01a5ddc00dce1c882870114b9b5f9e /xfa/fgas | |
parent | d562ef07d9faf211f1f6218f0879f02b60a05f18 (diff) | |
download | pdfium-0c820a2c5e2c197c0f436f2ac9e4f49207a79c4f.tar.xz |
Remove unused CreateTextStream
This CL removes the CreateTextStream method as it is not called.
Change-Id: I628aec2e8f488ad549b3497344ac08c5bb24de51
Reviewed-on: https://pdfium-review.googlesource.com/4014
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fgas')
-rw-r--r-- | xfa/fgas/crt/ifgas_stream.cpp | 7 | ||||
-rw-r--r-- | xfa/fgas/crt/ifgas_stream.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/xfa/fgas/crt/ifgas_stream.cpp b/xfa/fgas/crt/ifgas_stream.cpp index ae479964d0..209532476d 100644 --- a/xfa/fgas/crt/ifgas_stream.cpp +++ b/xfa/fgas/crt/ifgas_stream.cpp @@ -1410,13 +1410,6 @@ CFX_RetainPtr<IFGAS_Stream> IFGAS_Stream::CreateStream(uint8_t* pData, } // static -CFX_RetainPtr<IFGAS_Stream> IFGAS_Stream::CreateTextStream( - const CFX_RetainPtr<IFGAS_Stream>& pBaseStream) { - ASSERT(pBaseStream); - return pdfium::MakeRetain<CFGAS_TextStream>(pBaseStream); -} - -// static CFX_RetainPtr<IFX_SeekableReadStream> IFGAS_Stream::MakeSeekableReadStream() { return CFGAS_FileRead::Create(CFX_RetainPtr<IFGAS_Stream>(this)); } diff --git a/xfa/fgas/crt/ifgas_stream.h b/xfa/fgas/crt/ifgas_stream.h index d3b3ef545c..01a148019f 100644 --- a/xfa/fgas/crt/ifgas_stream.h +++ b/xfa/fgas/crt/ifgas_stream.h @@ -38,8 +38,6 @@ class IFGAS_Stream : public CFX_Retainable { static CFX_RetainPtr<IFGAS_Stream> CreateStream(uint8_t* pData, int32_t length, uint32_t dwAccess); - static CFX_RetainPtr<IFGAS_Stream> CreateTextStream( - const CFX_RetainPtr<IFGAS_Stream>& pBaseStream); virtual uint32_t GetAccessModes() const = 0; virtual int32_t GetLength() const = 0; |