| Index: third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp b/third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp
|
| index 73ae1b81af5f4d4ba477a650edd8caad35944503..1ef43de647526bb2ed6e786b022c65dbcc385780 100644
|
| --- a/third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp
|
| +++ b/third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp
|
| @@ -34,7 +34,6 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebCache.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebThread.h"
|
| #include "public/platform/WebURL.h"
|
| @@ -100,8 +99,9 @@ class WebAssociatedURLLoaderTest : public ::testing::Test,
|
| }
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| void serveRequests() {
|
|
|