| Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| index e6a2308b1564324711a065a1b5c8d562d8b307d8..459e94cb72b8170d0310c29074478d0a977d9581 100644
|
| --- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
| @@ -21,7 +21,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/WebConsoleMessage.h"
|
| #include "public/web/WebRemoteFrame.h"
|
| @@ -52,8 +51,9 @@ class RootScrollerTest : public ::testing::Test {
|
|
|
| ~RootScrollerTest() override {
|
| m_featuresBackup.restore();
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| WebViewImpl* initialize(const std::string& pageName,
|
|
|