mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Kill ServoParser::pipeline
This commit is contained in:
parent
90839305ae
commit
d8238646a0
5 changed files with 20 additions and 48 deletions
|
@ -1181,7 +1181,7 @@ impl XMLHttpRequest {
|
|||
self.response_json.get()
|
||||
}
|
||||
|
||||
fn document_text_html(&self) -> Root<Document>{
|
||||
fn document_text_html(&self) -> Root<Document> {
|
||||
let charset = self.final_charset().unwrap_or(UTF_8);
|
||||
let wr = self.global();
|
||||
let decoded = charset.decode(&self.response.borrow(), DecoderTrap::Replace).unwrap();
|
||||
|
@ -1190,8 +1190,7 @@ impl XMLHttpRequest {
|
|||
ServoParser::parse_html_document(
|
||||
&document,
|
||||
DOMString::from(decoded),
|
||||
wr.get_url(),
|
||||
Some(wr.pipeline_id()));
|
||||
wr.get_url());
|
||||
document
|
||||
}
|
||||
|
||||
|
@ -1204,8 +1203,7 @@ impl XMLHttpRequest {
|
|||
ServoParser::parse_xml_document(
|
||||
&document,
|
||||
DOMString::from(decoded),
|
||||
wr.get_url(),
|
||||
Some(wr.pipeline_id()));
|
||||
wr.get_url());
|
||||
document
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue