Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: third_party/WebKit/Source/modules/encoding/TextDecoder.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5118a26bf10b91143c38778286d82f2133f03e26..ccbab4dc6792058de37d0a478d59a90d1ab5a1d2 100644
--- a/third_party/WebKit/Source/modules/encoding/TextDecoder.h
+++ b/third_party/WebKit/Source/modules/encoding/TextDecoder.h
@@ -39,7 +39,6 @@
#include "wtf/text/TextCodec.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -68,7 +67,7 @@ private:
String decode(const char* start, size_t length, const TextDecodeOptions&, ExceptionState&);
WTF::TextEncoding m_encoding;
- std::unique_ptr<WTF::TextCodec> m_codec;
+ OwnPtr<WTF::TextCodec> m_codec;
bool m_fatal;
bool m_ignoreBOM;
bool m_bomSeen;

Powered by Google App Engine
This is Rietveld 408576698