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