| Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| index 2c94083eba768cebcb5702b84162066488bb2af2..30d90e7718b305224809eee488e6f95caaba21c9 100644
|
| --- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| @@ -36,7 +36,8 @@
|
| #include "public/platform/WebLayer.h"
|
| #include "public/platform/WebLayerPositionConstraint.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| +#include "public/web/WebCache.h"
|
| #include "public/web/WebSettings.h"
|
| #include "public/web/WebViewClient.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -63,7 +64,8 @@ public:
|
|
|
| ~ScrollingCoordinatorTest() override
|
| {
|
| - Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| + Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| + WebCache::clear();
|
| }
|
|
|
| void navigateTo(const std::string& url)
|
|
|