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