| 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 ff9d3aa028924dbe5e4c65f12e610f99fd7983fa..1bd8877c2308820d1a1693e1a9735ef416221b6f 100644
|
| --- a/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| +++ b/third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
| @@ -15,7 +15,8 @@
|
| #include "platform/PopupMenu.h"
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebExternalPopupMenu.h"
|
| #include "public/web/WebPopupMenuInfo.h"
|
| #include "public/web/WebSettings.h"
|
| @@ -107,7 +108,8 @@ protected:
|
| }
|
| void TearDown() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void registerMockedURLLoad(const std::string& fileName)
|
|
|