mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove Request::done.
It does not appear to be used at all.
This commit is contained in:
parent
882d5512bb
commit
1222db62aa
2 changed files with 0 additions and 5 deletions
|
@ -378,9 +378,6 @@ pub fn main_fetch(request: Rc<Request>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 23
|
|
||||||
request.done.set(true);
|
|
||||||
|
|
||||||
// Step 24
|
// Step 24
|
||||||
if let Some(ref mut target) = *target {
|
if let Some(ref mut target) = *target {
|
||||||
target.process_response_eof(&response);
|
target.process_response_eof(&response);
|
||||||
|
|
|
@ -208,7 +208,6 @@ pub struct Request {
|
||||||
pub url_list: RefCell<Vec<ServoUrl>>,
|
pub url_list: RefCell<Vec<ServoUrl>>,
|
||||||
pub redirect_count: Cell<u32>,
|
pub redirect_count: Cell<u32>,
|
||||||
pub response_tainting: Cell<ResponseTainting>,
|
pub response_tainting: Cell<ResponseTainting>,
|
||||||
pub done: Cell<bool>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Request {
|
impl Request {
|
||||||
|
@ -246,7 +245,6 @@ impl Request {
|
||||||
url_list: RefCell::new(vec![url]),
|
url_list: RefCell::new(vec![url]),
|
||||||
redirect_count: Cell::new(0),
|
redirect_count: Cell::new(0),
|
||||||
response_tainting: Cell::new(ResponseTainting::Basic),
|
response_tainting: Cell::new(ResponseTainting::Basic),
|
||||||
done: Cell::new(false)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue