| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 7f22058a49f9bbed93a60cdc5cc7ac7d5798099c..509ce8f86163e0ec8cd3ac7de8d234f4e3b38783 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -195,8 +195,9 @@ class WebFrameTest : public ::testing::Test {
|
| m_chromeURL("chrome://") {}
|
|
|
| ~WebFrameTest() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| void registerMockedHttpURLLoad(const std::string& fileName) {
|
|
|