| Index: content/browser/loader/resource_loader.cc
|
| diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc
|
| index 40e1f2a60746f96da3530f967c37a3dd82ee3edf..9e1b0d683624bd37080acee3ae5412bedfb98c56 100644
|
| --- a/content/browser/loader/resource_loader.cc
|
| +++ b/content/browser/loader/resource_loader.cc
|
| @@ -267,7 +267,7 @@ void ResourceLoader::OnReceivedRedirect(net::URLRequest* unused,
|
| << redirect_info.new_url.possibly_invalid_spec();
|
|
|
| // Tell the renderer that this request was disallowed.
|
| - Cancel();
|
| + CancelWithError(net::ERR_INVALID_URL);
|
| return;
|
| }
|
|
|
|
|