| Index: third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ViewportTest.cpp b/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| index 042a282bf00a9d16d33568d5a5004b5badc1b08b..e30a7834a35fa106d72bd4cc99fc67c13523af25 100644
|
| --- a/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| @@ -41,7 +41,8 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebConsoleMessage.h"
|
| #include "public/web/WebFrame.h"
|
| #include "public/web/WebScriptSource.h"
|
| @@ -64,7 +65,8 @@ protected:
|
|
|
| ~ViewportTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void registerMockedHttpURLLoad(const std::string& fileName)
|
|
|