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); |