| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| index e4287f8852b829028367ad5d5e9b42f17ef15b1e..0c14dbd6d1f6ed3f3c669b8dc0e38c6913e1ff0c 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| @@ -69,8 +69,9 @@
|
| #include "public/platform/WebDragData.h"
|
| #include "public/platform/WebSize.h"
|
| #include "public/platform/WebThread.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/web/WebAutofillClient.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebContentDetectionResult.h"
|
| #include "public/web/WebDateTimeChooserCompletion.h"
|
| #include "public/web/WebDeviceEmulationParams.h"
|
| @@ -229,7 +230,8 @@ public:
|
|
|
| void TearDown() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| protected:
|
|
|