| Index: third_party/WebKit/Source/wtf/text/TextCodecICU.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/TextCodecICU.h b/third_party/WebKit/Source/wtf/text/TextCodecICU.h
|
| index 9b11005626912daaf218a48b06c217ec49560741..9b34d647c12eaeaa55a42ec1fcdfd05767adcecb 100644
|
| --- a/third_party/WebKit/Source/wtf/text/TextCodecICU.h
|
| +++ b/third_party/WebKit/Source/wtf/text/TextCodecICU.h
|
| @@ -29,6 +29,7 @@
|
|
|
| #include "wtf/text/TextCodec.h"
|
| #include "wtf/text/TextEncoding.h"
|
| +#include <memory>
|
| #include <unicode/utypes.h>
|
|
|
| typedef struct UConverter UConverter;
|
| @@ -46,7 +47,7 @@ public:
|
|
|
| private:
|
| TextCodecICU(const TextEncoding&);
|
| - 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;
|
|
|