| Index: third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
| index 668a0045422d59985e70709ccdd6ad402927f4a9..d9e53d22194023fd5ea15f52a9f7c95eeb41daef 100644
|
| --- a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
| @@ -157,7 +157,7 @@
|
|
|
| std::unique_ptr<DummyPageHolder> m_dummyPageHolder;
|
| Checkpoint m_checkpoint;
|
| - Persistent<DocumentThreadableLoader> m_loader;
|
| + std::unique_ptr<DocumentThreadableLoader> m_loader;
|
| };
|
|
|
| class WorkerThreadableLoaderTestHelper : public ThreadableLoaderTestHelper, public WorkerLoaderProxyProvider {
|
| @@ -213,7 +213,7 @@
|
| {
|
| ASSERT(m_workerThread);
|
| ASSERT(m_workerThread->isCurrentThread());
|
| - m_loader = nullptr;
|
| + m_loader.reset();
|
| }
|
|
|
| Checkpoint& checkpoint() override
|
| @@ -336,7 +336,7 @@
|
| std::unique_ptr<DummyPageHolder> m_dummyPageHolder;
|
| Checkpoint m_checkpoint;
|
| // |m_loader| must be touched only from the worker thread only.
|
| - CrossThreadPersistent<ThreadableLoader> m_loader;
|
| + std::unique_ptr<ThreadableLoader> m_loader;
|
| };
|
|
|
| class ThreadableLoaderTest : public ::testing::TestWithParam<ThreadableLoaderToTest> {
|
|
|