Index: third_party/WebKit/Source/modules/encoding/TextDecoder.h |
diff --git a/third_party/WebKit/Source/modules/encoding/TextDecoder.h b/third_party/WebKit/Source/modules/encoding/TextDecoder.h |
index ccbab4dc6792058de37d0a478d59a90d1ab5a1d2..5118a26bf10b91143c38778286d82f2133f03e26 100644 |
--- a/third_party/WebKit/Source/modules/encoding/TextDecoder.h |
+++ b/third_party/WebKit/Source/modules/encoding/TextDecoder.h |
@@ -39,6 +39,7 @@ |
#include "wtf/text/TextCodec.h" |
#include "wtf/text/TextEncoding.h" |
#include "wtf/text/WTFString.h" |
+#include <memory> |
namespace blink { |
@@ -67,7 +68,7 @@ private: |
String decode(const char* start, size_t length, const TextDecodeOptions&, ExceptionState&); |
WTF::TextEncoding m_encoding; |
- OwnPtr<WTF::TextCodec> m_codec; |
+ std::unique_ptr<WTF::TextCodec> m_codec; |
bool m_fatal; |
bool m_ignoreBOM; |
bool m_bomSeen; |