| Index: third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| index 9aacb90f771f1a17fadf79567949b8038c697ef8..31b07f35f24ae7d255def3008176f9a99e317126 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimRequest.cpp
|
| @@ -7,7 +7,7 @@
|
| #include "platform/weborigin/KURL.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebURLLoaderClient.h"
|
| -#include "public/platform/WebUnitTestSupport.h"
|
| +#include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "web/tests/sim/SimNetwork.h"
|
|
|
| namespace blink {
|
| @@ -23,7 +23,7 @@ SimRequest::SimRequest(String url, String mimeType)
|
| WebURLResponse response(fullUrl);
|
| response.setMIMEType(mimeType);
|
| response.setHTTPStatusCode(200);
|
| - Platform::current()->unitTestSupport()->registerMockedURL(fullUrl, response, "");
|
| + Platform::current()->getURLLoaderMockFactory()->registerURL(fullUrl, response, "");
|
| SimNetwork::current().addRequest(*this);
|
| }
|
|
|
|
|