| Index: third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| index 018bf6e88aa35094cc2fde179637357b0af3c7b6..dcebba42dd1ced8139268a0afadf8f6d80580d24 100644
|
| --- a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| @@ -9,7 +9,6 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebCache.h"
|
| #include "public/platform/WebURLLoaderClient.h"
|
| #include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -31,8 +30,9 @@ class DocumentLoaderTest : public ::testing::Test {
|
| }
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| WebLocalFrameImpl* mainFrame() {
|
|
|