| Index: third_party/WebKit/Source/wtf/text/TextCodecUTF8.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h b/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h
|
| index feb5682a77ed860c088fa11c6f2d1ce8ef45ec16..5f943dd9eb13ca51362c357f0197b90926d5a991 100644
|
| --- a/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h
|
| +++ b/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h
|
| @@ -27,6 +27,7 @@
|
| #define TextCodecUTF8_h
|
|
|
| #include "wtf/text/TextCodec.h"
|
| +#include <memory>
|
|
|
| namespace WTF {
|
|
|
| @@ -39,7 +40,7 @@ protected:
|
| TextCodecUTF8() : m_partialSequenceSize(0) { }
|
|
|
| private:
|
| - static PassOwnPtr<TextCodec> create(const TextEncoding&, const void*);
|
| + static std::unique_ptr<TextCodec> create(const TextEncoding&, const void*);
|
|
|
| String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
|
| CString encode(const UChar*, size_t length, UnencodableHandling) override;
|
|
|