| Index: third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp b/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| index 32bad6d1a607f975d9448af66d2640a4b10e86b2..515f93710d70eea240fbaf051a0cac9c615eb955 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| @@ -33,7 +33,6 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebCache.h"
|
| #include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/web/WebDocument.h"
|
| #include "public/web/WebFrame.h"
|
| @@ -57,8 +56,9 @@ class WebSearchableFormDataTest : public ::testing::Test {
|
| WebSearchableFormDataTest() {}
|
|
|
| ~WebSearchableFormDataTest() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| FrameTestHelpers::WebViewHelper m_webViewHelper;
|
|
|