| Index: third_party/WebKit/Source/web/tests/MHTMLTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
|
| index 5bf20f29f19d2d9c28108ba6d4196f466f580676..dc285d2ecf0ec54a2200a845b10cf0a9e7ab101b 100644
|
| --- a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
|
| @@ -42,9 +42,10 @@
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/platform/WebURLRequest.h"
|
| #include "public/platform/WebURLResponse.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebDocument.h"
|
| #include "public/web/WebFrame.h"
|
| #include "public/web/WebView.h"
|
| @@ -97,7 +98,8 @@ protected:
|
|
|
| void TearDown() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void registerMockedURLLoad(const std::string& url, const WebString& fileName)
|
|
|