mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Auto merge of #15220 - nox:kill-parser-pipeline, r=SimonSapin,jdm
Kill ServoParser::pipeline <!-- 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/15220) <!-- Reviewable:end -->
This commit is contained in:
commit
ba7696ebc6
5 changed files with 65 additions and 98 deletions
|
@ -1817,17 +1817,9 @@ impl ScriptThread {
|
|||
document.set_https_state(metadata.https_state);
|
||||
|
||||
if is_html_document == IsHTMLDocument::NonHTMLDocument {
|
||||
ServoParser::parse_xml_document(
|
||||
&document,
|
||||
parse_input,
|
||||
final_url,
|
||||
Some(incomplete.pipeline_id));
|
||||
ServoParser::parse_xml_document(&document, parse_input, final_url);
|
||||
} else {
|
||||
ServoParser::parse_html_document(
|
||||
&document,
|
||||
parse_input,
|
||||
final_url,
|
||||
Some(incomplete.pipeline_id));
|
||||
ServoParser::parse_html_document(&document, parse_input, final_url);
|
||||
}
|
||||
|
||||
if incomplete.is_frozen {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue