| Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| index b400edc6827a10b9c60692b6e61f5a51fa869246..49e20c9854625ea3b83da30cba0abdb073a7a48e 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -21,7 +21,8 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebContextMenuData.h"
|
| #include "public/web/WebDocument.h"
|
| #include "public/web/WebFrameClient.h"
|
| @@ -130,7 +131,8 @@ public:
|
|
|
| ~VisualViewportTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void navigateTo(const std::string& url)
|
|
|