mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add CanGc as arguments in methods in devtools.rs, CharacterData, CSSStyleRule, CSSStyleSheet (#36375)
Add CanGc as arguments in methods in devtools.rs, CharacterData, CSSStyleRule, CSSStyleSheet Testing: These changes do not require tests because they are a refactor. Addressed part of https://github.com/servo/servo/issues/34573. --------- Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
1f558a0d49
commit
33b00dbe40
6 changed files with 42 additions and 30 deletions
|
@ -2006,13 +2006,13 @@ impl ScriptThread {
|
|||
None => warn!("Message sent to closed pipeline {}.", id),
|
||||
},
|
||||
DevtoolScriptControlMsg::GetRootNode(id, reply) => {
|
||||
devtools::handle_get_root_node(&documents, id, reply)
|
||||
devtools::handle_get_root_node(&documents, id, reply, can_gc)
|
||||
},
|
||||
DevtoolScriptControlMsg::GetDocumentElement(id, reply) => {
|
||||
devtools::handle_get_document_element(&documents, id, reply)
|
||||
devtools::handle_get_document_element(&documents, id, reply, can_gc)
|
||||
},
|
||||
DevtoolScriptControlMsg::GetChildren(id, node_id, reply) => {
|
||||
devtools::handle_get_children(&documents, id, node_id, reply)
|
||||
devtools::handle_get_children(&documents, id, node_id, reply, can_gc)
|
||||
},
|
||||
DevtoolScriptControlMsg::GetAttributeStyle(id, node_id, reply) => {
|
||||
devtools::handle_get_attribute_style(&documents, id, node_id, reply, can_gc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue