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

Unified Diff: third_party/WebKit/Source/core/page/EventSourceParser.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/core/page/EventSourceParser.h
diff --git a/third_party/WebKit/Source/core/page/EventSourceParser.h b/third_party/WebKit/Source/core/page/EventSourceParser.h
index ffe8145917b94c467edf18fdcc533aad1505d35e..7629b6843c7ef5ce0e1e725802f7a1161a3781f5 100644
--- a/third_party/WebKit/Source/core/page/EventSourceParser.h
+++ b/third_party/WebKit/Source/core/page/EventSourceParser.h
@@ -7,11 +7,11 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/TextCodec.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -49,7 +49,7 @@ private:
AtomicString m_lastEventId;
Member<Client> m_client;
- std::unique_ptr<TextCodec> m_codec;
+ OwnPtr<TextCodec> m_codec;
bool m_isRecognizingCRLF = false;
bool m_isRecognizingBOM = true;
« no previous file with comments | « third_party/WebKit/Source/core/page/EventSource.cpp ('k') | third_party/WebKit/Source/core/page/FocusControllerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698