Index: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp |
index efa3ff9888501b7820794455df1864f89eff6acd..1b6b6692b68e02a2ccc20f5d2c95994136b22fde 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp |
@@ -31,6 +31,7 @@ |
#include "core/loader/DocumentLoader.h" |
#include "platform/Histogram.h" |
#include "public/platform/Platform.h" |
+#include <memory> |
namespace blink { |
@@ -59,7 +60,7 @@ static void preconnectHost(PreloadRequest* request, const NetworkHintsInterface& |
networkHintsInterface.preconnectHost(host, request->crossOrigin()); |
} |
-void HTMLResourcePreloader::preload(PassOwnPtr<PreloadRequest> preload, const NetworkHintsInterface& networkHintsInterface) |
+void HTMLResourcePreloader::preload(std::unique_ptr<PreloadRequest> preload, const NetworkHintsInterface& networkHintsInterface) |
{ |
if (preload->isPreconnect()) { |
preconnectHost(preload.get(), networkHintsInterface); |