Index: third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp |
index 0b8fb30bd64ccb2e3673a74f60f4b014c2742a74..939aa3836a892d4162a09e8d86ce1e8046e7d0b7 100644 |
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp |
@@ -30,7 +30,6 @@ |
#include "core/fetch/FetchInitiatorTypeNames.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "platform/text/SegmentedString.h" |
-#include <memory> |
namespace blink { |
@@ -221,7 +220,7 @@ void CSSPreloadScanner::emitRule(const SegmentedString& source) |
String url = parseCSSStringOrURL(m_ruleValue.toString()); |
if (!url.isEmpty()) { |
TextPosition position = TextPosition(source.currentLine(), source.currentColumn()); |
- std::unique_ptr<PreloadRequest> request = PreloadRequest::create(FetchInitiatorTypeNames::css, position, url, *m_predictedBaseElementURL, Resource::CSSStyleSheet, m_referrerPolicy); |
+ OwnPtr<PreloadRequest> request = PreloadRequest::create(FetchInitiatorTypeNames::css, position, url, *m_predictedBaseElementURL, Resource::CSSStyleSheet, m_referrerPolicy); |
// FIXME: Should this be including the charset in the preload request? |
m_requests->append(std::move(request)); |
} |