| Index: third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp b/third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp
|
| index 8b69f2657c9eae2d0f5979e14b2e129b58622016..38b78be10b2813c3e55f082bf260a6f261092e2e 100644
|
| --- a/third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp
|
| @@ -30,7 +30,8 @@
|
|
|
| #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/WebView.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "web/tests/FrameTestHelpers.h"
|
| @@ -94,7 +95,8 @@ public:
|
|
|
| void TearDown() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| protected:
|
|
|