summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 22:09:02 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 22:09:02 +0000
commit05799510b7d0e27c50026c860198e6f1c0e8c0cb (patch)
treee055c02b955061b8f89c4cbe22515da80e10f80e /net
parent7f928f200b35d20a5d80a71e89261c77130bedac (diff)
downloadchromium_src-05799510b7d0e27c50026c860198e6f1c0e8c0cb.zip
chromium_src-05799510b7d0e27c50026c860198e6f1c0e8c0cb.tar.gz
chromium_src-05799510b7d0e27c50026c860198e6f1c0e8c0cb.tar.bz2
URLRequest::PrepareToRestart() call job_->Kill() and OrphanJob().
But OrphanJob() call job_->Kill() internally, so first Kill() call in PrepareToRestart() is not needed. This changelist remove the duplicated Kill() call. BUG=chromium:69937 TEST=pass net_unittests. Patch provided by toyoshim@google.com. Original review: http://codereview.chromium.org/6373002/ Review URL: http://codereview.chromium.org/6250021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 26a9da2..d901d83 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -490,7 +490,6 @@ void URLRequest::PrepareToRestart() {
// one.
net_log_.EndEvent(net::NetLog::TYPE_URL_REQUEST_START_JOB, NULL);
- job_->Kill();
OrphanJob();
response_info_ = net::HttpResponseInfo();