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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResource.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/fetch/DocumentResource.h
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.h b/third_party/WebKit/Source/core/fetch/DocumentResource.h
index ea70a68179e9fc72c8b21d8deb278432c1e29f2b..68027484cbfaf082ea4f3ba8b239a704656d899d 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.h
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.h
@@ -27,7 +27,6 @@
#include "core/fetch/ResourceClient.h"
#include "core/html/parser/TextResourceDecoder.h"
#include "platform/heap/Handle.h"
-#include <memory>
namespace blink {
@@ -66,7 +65,7 @@ private:
Document* createDocument(const KURL&);
Member<Document> m_document;
- std::unique_ptr<TextResourceDecoder> m_decoder;
+ OwnPtr<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