| Index: third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp b/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| index 8e99e2c825fb03acea7b6df353c11cc82fa4653f..67f8091b548a4cb6dbde8720b3a8e36977c66977 100644
|
| --- a/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| @@ -34,7 +34,7 @@
|
| #include "public/platform/WebPrerender.h"
|
| #include "public/platform/WebPrerenderingSupport.h"
|
| #include "public/platform/WebString.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/web/WebCache.h"
|
| #include "public/web/WebFrame.h"
|
| #include "public/web/WebPrerendererClient.h"
|
| @@ -169,7 +169,8 @@ class PrerenderingTest : public testing::Test {
|
| public:
|
| ~PrerenderingTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void initialize(const char* baseURL, const char* fileName)
|
|
|