| Index: third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp
|
| index 85f9a1f556a037f5a233ac635753bd0d40f0ee2e..4091750a5014d5d7dc38174587472bb4ff585d2c 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp
|
| @@ -36,7 +36,8 @@
|
| #include "public/platform/WebCString.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebFrameSerializerClient.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| @@ -71,7 +72,8 @@ protected:
|
|
|
| ~WebFrameSerializerTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void registerMockedImageURL(const String& url)
|
|
|