| Index: third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp b/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| index 5d0154cdaf133f3d871eefb440bd6cdb4c01038c..4346eb21ab9020d671121328b07a8c722600aaa5 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
| @@ -32,7 +32,8 @@
|
|
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebDocument.h"
|
| #include "public/web/WebFrame.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| @@ -50,7 +51,8 @@ protected:
|
|
|
| ~WebSearchableFormDataTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| FrameTestHelpers::WebViewHelper m_webViewHelper;
|
|
|