mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Replace CanGc::note() calls with arguments in components/script/dom
(#33692)
* Replace CanGc::note() calls with arguments in components/script/dom Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Add methods to Bindings.conf Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Modify existing interface sections Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Resolve conflicts Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
38c5ebbf8e
commit
39133a5478
8 changed files with 53 additions and 31 deletions
|
@ -90,7 +90,7 @@ impl DOMParserMethods for DOMParser {
|
|||
Default::default(),
|
||||
can_gc,
|
||||
);
|
||||
ServoParser::parse_html_document(&document, Some(s), url, CanGc::note());
|
||||
ServoParser::parse_html_document(&document, Some(s), url, can_gc);
|
||||
document.set_ready_state(DocumentReadyState::Complete);
|
||||
Ok(document)
|
||||
},
|
||||
|
@ -112,7 +112,7 @@ impl DOMParserMethods for DOMParser {
|
|||
Default::default(),
|
||||
can_gc,
|
||||
);
|
||||
ServoParser::parse_xml_document(&document, Some(s), url, CanGc::note());
|
||||
ServoParser::parse_xml_document(&document, Some(s), url, can_gc);
|
||||
document.set_ready_state(DocumentReadyState::Complete);
|
||||
Ok(document)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue