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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchResponseData.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/fetch/FetchResponseData.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchResponseData.h b/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
index 5f066dec42d5dd218563a231b60e960dc54b3b36..b4aab0268d9119362781d97c803220e01cc7da06 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
@@ -12,6 +12,7 @@
#include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/AtomicString.h"
+#include <memory>
namespace blink {
@@ -88,7 +89,7 @@ private:
FetchResponseData(Type, unsigned short, AtomicString);
Type m_type;
- OwnPtr<TerminationReason> m_terminationReason;
+ std::unique_ptr<TerminationReason> m_terminationReason;
KURL m_url;
unsigned short m_status;
AtomicString m_statusMessage;

Powered by Google App Engine
This is Rietveld 408576698