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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/TextEncoder.h
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.h b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
index d8cd44648017860c3ba6f8f6c6602e88430d754c..02dc49ba26b414a3566f2b28997e1cee0123385d 100644
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.h
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
@@ -37,6 +37,7 @@
#include "wtf/text/TextCodec.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace blink {
@@ -59,7 +60,7 @@ private:
TextEncoder(const WTF::TextEncoding&);
WTF::TextEncoding m_encoding;
- OwnPtr<WTF::TextCodec> m_codec;
+ std::unique_ptr<WTF::TextCodec> m_codec;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698