Remove Request::done.

It does not appear to be used at all.
This commit is contained in:
Ms2ger 2016-12-09 12:36:40 -10:00
parent 882d5512bb
commit 1222db62aa
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)
}
}