| Index: third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
|
| index db2fcaf7400f6c1d5f01d0b3e7ef2c37c108872d..4462fdde27572968cdaf2e3c2081d4ea0db43c9b 100644
|
| --- a/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
|
| @@ -35,8 +35,8 @@
|
| #include "public/platform/WebURL.h"
|
| #include "public/platform/WebURLError.h"
|
| #include "public/platform/WebURLLoadTiming.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/platform/WebURLResponse.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
|
|
| namespace blink {
|
| namespace URLTestHelpers {
|
| @@ -79,7 +79,7 @@ void registerMockedErrorURLLoad(const WebURL& fullURL)
|
|
|
| WebURLError error;
|
| error.reason = 404;
|
| - Platform::current()->unitTestSupport()->registerMockedErrorURL(fullURL, response, error);
|
| + Platform::current()->getURLLoaderMockFactory()->registerErrorURL(fullURL, response, error);
|
| }
|
|
|
| void registerMockedURLLoadWithCustomResponse(const WebURL& fullURL, const WebString& fileName, const WebString& relativeBaseDirectory, WebURLResponse response)
|
| @@ -90,7 +90,7 @@ void registerMockedURLLoadWithCustomResponse(const WebURL& fullURL, const WebStr
|
| filePath.append(relativeBaseDirectory);
|
| filePath.append(fileName);
|
|
|
| - Platform::current()->unitTestSupport()->registerMockedURL(fullURL, response, filePath);
|
| + Platform::current()->getURLLoaderMockFactory()->registerURL(fullURL, response, filePath);
|
| }
|
|
|
| } // namespace URLTestHelpers
|
|
|