| Index: third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp b/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| index 5172b469a9b1b0b59ea1d34aea371687d5c9324e..230c82bb828ac0a727423948efa903f6ea22a392 100644
|
| --- a/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| +++ b/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| @@ -17,7 +17,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/WebExternalPopupMenu.h"
|
| #include "public/web/WebPopupMenuInfo.h"
|
| @@ -108,8 +107,9 @@ class ExternalPopupMenuTest : public ::testing::Test {
|
| webView()->setUseExternalPopupMenus(true);
|
| }
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| void registerMockedURLLoad(const std::string& fileName) {
|
|
|