summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:11:13 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:11:13 +0000
commit9443d7241ddc9c4e22455130615031d2e0c44003 (patch)
treefd733cd17d446e2ac2c5655a1f8ad4df26f55dbd /net
parent1516b3d5cf1eecbbeb786c056dc9d5a5f4b71b0c (diff)
downloadchromium_src-9443d7241ddc9c4e22455130615031d2e0c44003.zip
chromium_src-9443d7241ddc9c4e22455130615031d2e0c44003.tar.gz
chromium_src-9443d7241ddc9c4e22455130615031d2e0c44003.tar.bz2
Convert some DCHECKs() for redirect into CHECKs() to make sure they aren't getting hit.
BUG=20470 Review URL: http://codereview.chromium.org/2508001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index f32782c..c2a8d28 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -388,8 +388,8 @@ void URLRequest::ResponseStarted() {
}
void URLRequest::FollowDeferredRedirect() {
- DCHECK(job_);
- DCHECK(status_.is_success());
+ CHECK(job_);
+ CHECK(status_.is_success());
job_->FollowDeferredRedirect();
}