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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResource.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/core/fetch/DocumentResource.h
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.h b/third_party/WebKit/Source/core/fetch/DocumentResource.h
index 68027484cbfaf082ea4f3ba8b239a704656d899d..ea70a68179e9fc72c8b21d8deb278432c1e29f2b 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.h
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.h
@@ -27,6 +27,7 @@
#include "core/fetch/ResourceClient.h"
#include "core/html/parser/TextResourceDecoder.h"
#include "platform/heap/Handle.h"
+#include <memory>
namespace blink {
@@ -65,7 +66,7 @@ private:
Document* createDocument(const KURL&);
Member<Document> m_document;
- OwnPtr<TextResourceDecoder> m_decoder;
+ std::unique_ptr<TextResourceDecoder> m_decoder;
};
DEFINE_TYPE_CASTS(DocumentResource, Resource, resource, resource->getType() == Resource::SVGDocument, resource.getType() == Resource::SVGDocument);
« no previous file with comments | « third_party/WebKit/Source/core/fetch/CrossOriginAccessControl.cpp ('k') | third_party/WebKit/Source/core/fetch/FontResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698