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