Auto merge of #14537 - servo:request-done, r=frewsxcv

Remove Request::done.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14537)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-12-10 02:23:40 -08:00 committed by GitHub
commit 4a599a8364
2 changed files with 0 additions and 5 deletions

View file

@ -378,9 +378,6 @@ pub fn main_fetch(request: Rc<Request>,
}
}
// Step 23
request.done.set(true);
// Step 24
if let Some(ref mut target) = *target {
target.process_response_eof(&response);

View file

@ -208,7 +208,6 @@ pub struct Request {
pub url_list: RefCell<Vec<ServoUrl>>,
pub redirect_count: Cell<u32>,
pub response_tainting: Cell<ResponseTainting>,
pub done: Cell<bool>,
}
impl Request {
@ -246,7 +245,6 @@ impl Request {
url_list: RefCell::new(vec![url]),
redirect_count: Cell::new(0),
response_tainting: Cell::new(ResponseTainting::Basic),
done: Cell::new(false)
}
}