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

Unified Diff: third_party/WebKit/Source/modules/encoding/TextEncoder.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/TextEncoder.h
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.h b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
index 02dc49ba26b414a3566f2b28997e1cee0123385d..d8cd44648017860c3ba6f8f6c6602e88430d754c 100644
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.h
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
@@ -37,7 +37,6 @@
#include "wtf/text/TextCodec.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -60,7 +59,7 @@ private:
TextEncoder(const WTF::TextEncoding&);
WTF::TextEncoding m_encoding;
- std::unique_ptr<WTF::TextCodec> m_codec;
+ OwnPtr<WTF::TextCodec> m_codec;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698