| Index: third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
|
| index f29212c418e6ad086e0b4aa4d1374733aa8d0676..5afcad909a2587d8ec75cec6039c6c67d4ccac32 100644
|
| --- a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
|
| @@ -38,7 +38,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/WebFrameClient.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -58,8 +57,9 @@ class LayoutGeometryMapTest
|
| m_baseURL("http://www.test.com/") {}
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| protected:
|
|
|