diff options
author | dan sinclair <dsinclair@chromium.org> | 2018-04-17 18:45:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-17 18:45:28 +0000 |
commit | 5925398cc46eccdec720166c1b6bbb87cfb19564 (patch) | |
tree | 64f43a7aa2a7ab02c9333112224196705b619065 /xfa/fgas/font/cfgas_gefont.h | |
parent | 63593d32415a2abe14b67a9b0bbb5051e3f7c408 (diff) | |
download | pdfium-5925398cc46eccdec720166c1b6bbb87cfb19564.tar.xz |
Remove unused CFX_SeekableStreamProxy From CFGAS_GEFont
The CFGAS_GEFont::LoadFontInternal which takesa a CFX_SeekableStreamProxy was
never implemented. The stream member is never used.
Change-Id: Ia9c5434c55f6ff2f709bb3ad49ecd9ee3fd3b122
Reviewed-on: https://pdfium-review.googlesource.com/30855
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_gefont.h')
-rw-r--r-- | xfa/fgas/font/cfgas_gefont.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h index 2e70fb662f..b1d3a0e34d 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h @@ -12,7 +12,6 @@ #include <utility> #include <vector> -#include "core/fxcrt/cfx_seekablestreamproxy.h" #include "core/fxcrt/fx_memory.h" #include "core/fxcrt/retain_ptr.h" #include "core/fxcrt/unowned_ptr.h" @@ -68,8 +67,6 @@ class CFGAS_GEFont : public Retainable { uint32_t dwFontStyles, uint16_t wCodePage); bool LoadFontInternal(const uint8_t* pBuffer, int32_t length); - bool LoadFontInternal(const RetainPtr<CFX_SeekableStreamProxy>& pFontStream, - bool bSaveStream); #endif // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ bool LoadFontInternal(std::unique_ptr<CFX_Font> pInternalFont); bool LoadFontInternal(CFX_Font* pExternalFont); @@ -86,7 +83,6 @@ class CFGAS_GEFont : public Retainable { RetainPtr<CFGAS_GEFont> m_pSrcFont; // Only set by ctor, so no cycles. CFGAS_FontMgr::ObservedPtr m_pFontMgr; CFGAS_PDFFontMgr::ObservedPtr m_pProvider; - RetainPtr<CFX_SeekableStreamProxy> m_pStream; RetainPtr<IFX_SeekableReadStream> m_pFileRead; std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding; std::map<wchar_t, int32_t> m_CharWidthMap; |