| Index: third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h b/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h
|
| index f53aaa08a46796d09804328e152a23a71d398909..66d10a51f1a090f785ffd5af4602e77b773e9d4e 100644
|
| --- a/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h
|
| +++ b/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h
|
| @@ -30,19 +30,19 @@
|
|
|
| namespace WTF {
|
|
|
| - class TextCodecUserDefined final : public TextCodec {
|
| - public:
|
| - static void registerEncodingNames(EncodingNameRegistrar);
|
| - static void registerCodecs(TextCodecRegistrar);
|
| -
|
| - private:
|
| - String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
|
| - CString encode(const UChar*, size_t length, UnencodableHandling) override;
|
| - CString encode(const LChar*, size_t length, UnencodableHandling) override;
|
| -
|
| - template<typename CharType>
|
| - CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
|
| - };
|
| +class TextCodecUserDefined final : public TextCodec {
|
| +public:
|
| + static void registerEncodingNames(EncodingNameRegistrar);
|
| + static void registerCodecs(TextCodecRegistrar);
|
| +
|
| +private:
|
| + String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
|
| + CString encode(const UChar*, size_t length, UnencodableHandling) override;
|
| + CString encode(const LChar*, size_t length, UnencodableHandling) override;
|
| +
|
| + template<typename CharType>
|
| + CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
|
| +};
|
|
|
| } // namespace WTF
|
|
|
|
|