mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
add CanGc as argument to methods in Element (#36464)
add CanGc as argument to methods in Element Testing: These changes do not require tests because they are a refactor. Addresses part of https://github.com/servo/servo/issues/34573. Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3c5da6588d
commit
c8ecb57d97
@@ -440,7 +440,7 @@ pub(crate) fn handle_modify_attribute(
|
||||
can_gc,
|
||||
);
|
||||
},
|
||||
None => elem.RemoveAttribute(DOMString::from(modification.attribute_name)),
|
||||
None => elem.RemoveAttribute(DOMString::from(modification.attribute_name), can_gc),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user