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 5f943dd9eb13ca51362c357f0197b90926d5a991..feb5682a77ed860c088fa11c6f2d1ce8ef45ec16 100644 |
--- a/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h |
+++ b/third_party/WebKit/Source/wtf/text/TextCodecUTF8.h |
@@ -27,7 +27,6 @@ |
#define TextCodecUTF8_h |
#include "wtf/text/TextCodec.h" |
-#include <memory> |
namespace WTF { |
@@ -40,7 +39,7 @@ protected: |
TextCodecUTF8() : m_partialSequenceSize(0) { } |
private: |
- 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; |