Chromium Code Reviews| Index: Source/core/testing/URLTestHelpers.cpp |
| diff --git a/Source/core/testing/URLTestHelpers.cpp b/Source/core/testing/URLTestHelpers.cpp |
| index bb67648dbf476ac0a8dd1375adb93c43c19ca839..1a0f261d8b1eb85092806f31d44bfd7c6dfd4a4a 100644 |
| --- a/Source/core/testing/URLTestHelpers.cpp |
| +++ b/Source/core/testing/URLTestHelpers.cpp |
| @@ -53,8 +53,7 @@ void registerMockedURLLoad(const WebURL& fullURL, const WebString& fileName, con |
| void registerMockedURLLoad(const WebURL& fullURL, const WebString& fileName, const WebString& relativeBaseDirectory, const WebString& mimeType) |
| { |
| - WebURLResponse response; |
| - response.initialize(); |
| + WebURLResponse response(fullURL); |
|
Mikhail
2014/08/29 12:49:18
is this change Manifest-related?
mlamouri (slow - plz ping)
2014/09/01 19:23:50
It's needed for the cors check. It was part of htt
|
| response.setMIMEType(mimeType); |
| response.setHTTPStatusCode(200); |