Index: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp |
index 4326fd380bc7020672cd85d65baff7b28936a218..7455b24111b1083bb518658bd7635f4e908f89e1 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloaderTest.cpp |
@@ -7,6 +7,7 @@ |
#include "core/html/parser/PreloadRequest.h" |
#include "core/testing/DummyPageHolder.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include <memory> |
namespace blink { |
@@ -53,7 +54,7 @@ protected: |
{ |
// TODO(yoav): Need a mock loader here to verify things are happenning beyond preconnect. |
PreloaderNetworkHintsMock networkHints; |
- OwnPtr<PreloadRequest> preloadRequest = PreloadRequest::create(String(), |
+ std::unique_ptr<PreloadRequest> preloadRequest = PreloadRequest::create(String(), |
TextPosition(), |
testCase.url, |
KURL(ParsedURLStringTag(), testCase.baseURL), |
@@ -72,7 +73,7 @@ protected: |
} |
private: |
- OwnPtr<DummyPageHolder> m_dummyPageHolder; |
+ std::unique_ptr<DummyPageHolder> m_dummyPageHolder; |
}; |
TEST_F(HTMLResourcePreloaderTest, testPreconnect) |