diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-30 15:46:58 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-30 20:09:37 +0000 |
commit | c2f0789bf90d8f3656abde8da8371e8975f7084e (patch) | |
tree | e5812a23a7c59d52ad161a40b6d886449509f5b9 /core/fxcrt/fx_basic.h | |
parent | fd70d79ca67ac87dd95ab23d548b1fcb879ad259 (diff) | |
download | pdfium-c2f0789bf90d8f3656abde8da8371e8975f7084e.tar.xz |
Move CFX_UTF8Encoder out of fx_basic
The CFX_UTF8Encoder is only used in FX_UTF8Encode(). This CL moves the
class to the anonymous namespace with that method. The unused AppendStr
method has been removed.
Change-Id: Ie514686c4b4489bb0b0df83b7eeec14bb1876fcd
Reviewed-on: https://pdfium-review.googlesource.com/12410
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_basic.h')
-rw-r--r-- | core/fxcrt/fx_basic.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/fxcrt/fx_basic.h b/core/fxcrt/fx_basic.h index 8e3312d365..dcbb846196 100644 --- a/core/fxcrt/fx_basic.h +++ b/core/fxcrt/fx_basic.h @@ -103,22 +103,6 @@ class CFX_UTF8Decoder { CFX_WideTextBuf m_Buffer; }; -class CFX_UTF8Encoder { - public: - CFX_UTF8Encoder(); - ~CFX_UTF8Encoder(); - - void Input(wchar_t unicode); - void AppendStr(const CFX_ByteStringC& str); - - // The data returned by GetResult() is invalidated when this is modified by - // appending any data. - CFX_ByteStringC GetResult() const; - - private: - std::vector<uint8_t> m_Buffer; -}; - template <class DataType, int FixedSize> class CFX_FixedBufGrow { public: |