| Index: third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp b/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
|
| index 5865c77fd5b1c604358cb9e3cf41f0e0ddfe4e7f..1bd7cb214f662b5f6cc45663b0c066ebe41eb2e2 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
|
| @@ -37,7 +37,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"
|
| @@ -72,8 +71,9 @@ class FrameSerializerTest : public ::testing::Test,
|
| }
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| void setBaseFolder(const char* folder) { m_folder = folder; }
|
|
|