| Index: third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| index 015bdad24245f7476ac4ee797fd2ce9251c94116..064bb9143791c82fd447a1d0d796a7242ed8b0de 100644
|
| --- a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
| @@ -4,7 +4,6 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebCache.h"
|
| #include "public/platform/WebInputEvent.h"
|
| #include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/web/WebFrame.h"
|
| @@ -25,8 +24,9 @@ class ProgrammaticScrollTest : public ::testing::Test {
|
| ProgrammaticScrollTest() : m_baseURL("http://www.test.com/") {}
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| protected:
|
|
|