| 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 0e3e67b4281f382a4525a02428ff69d088a4410a..43023c678015e8e2ba7c2987faf6731a964b7865 100644
|
| --- a/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
| @@ -159,8 +159,9 @@ class TestPrerenderingSupport : public WebPrerenderingSupport {
|
| class PrerenderingTest : public ::testing::Test {
|
| public:
|
| ~PrerenderingTest() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| void initialize(const char* baseURL, const char* fileName) {
|
|
|