| Index: third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp
|
| index 8b90b657e3f71cc6555536a9f3f390dc52307738..bc584d1ee13aa9b7327b6ef5e13a7c4d5d3013eb 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLPreloadScannerTest.cpp
|
| @@ -13,6 +13,7 @@
|
| #include "core/html/parser/HTMLResourcePreloader.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -80,13 +81,13 @@ public:
|
| }
|
|
|
| protected:
|
| - void preload(PassOwnPtr<PreloadRequest> preloadRequest, const NetworkHintsInterface&) override
|
| + void preload(std::unique_ptr<PreloadRequest> preloadRequest, const NetworkHintsInterface&) override
|
| {
|
| m_preloadRequest = std::move(preloadRequest);
|
| }
|
|
|
| private:
|
| - OwnPtr<PreloadRequest> m_preloadRequest;
|
| + std::unique_ptr<PreloadRequest> m_preloadRequest;
|
| };
|
|
|
| class HTMLPreloadScannerTest : public testing::Test {
|
| @@ -171,8 +172,8 @@ protected:
|
| }
|
|
|
| private:
|
| - OwnPtr<DummyPageHolder> m_dummyPageHolder;
|
| - OwnPtr<HTMLPreloadScanner> m_scanner;
|
| + std::unique_ptr<DummyPageHolder> m_dummyPageHolder;
|
| + std::unique_ptr<HTMLPreloadScanner> m_scanner;
|
| };
|
|
|
| TEST_F(HTMLPreloadScannerTest, testImages)
|
|
|