summaryrefslogtreecommitdiffstats
path: root/webkit/blob
diff options
context:
space:
mode:
authoraarya@google.com <aarya@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 03:12:03 +0000
committeraarya@google.com <aarya@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 03:12:03 +0000
commit957973753ec4159003ff7930d946b7e89c7e09f3 (patch)
tree2f8231bae051ac6a56fe378e7745471ca6a2449e /webkit/blob
parent34c2cebd14a476d76e91b92724ce4455095bb990 (diff)
downloadchromium_src-957973753ec4159003ff7930d946b7e89c7e09f3.zip
chromium_src-957973753ec4159003ff7930d946b7e89c7e09f3.tar.gz
chromium_src-957973753ec4159003ff7930d946b7e89c7e09f3.tar.bz2
Make NotifyHeadersComplete the last call in the function.
BUG=82903 Review URL: http://codereview.chromium.org/7038017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85719 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob')
-rw-r--r--webkit/blob/blob_url_request_job.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/blob/blob_url_request_job.cc b/webkit/blob/blob_url_request_job.cc
index 0de56ac..15d86ac 100644
--- a/webkit/blob/blob_url_request_job.cc
+++ b/webkit/blob/blob_url_request_job.cc
@@ -467,9 +467,9 @@ void BlobURLRequestJob::HeadersCompleted(int status_code,
response_info_->headers = headers;
set_expected_content_size(remaining_bytes_);
- NotifyHeadersComplete();
-
headers_set_ = true;
+
+ NotifyHeadersComplete();
}
void BlobURLRequestJob::NotifySuccess() {