mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
More CanGc fixes (#33888)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
720d632170
commit
9c893c7f4d
25 changed files with 102 additions and 58 deletions
|
@ -65,6 +65,7 @@ impl ResizeObserverEntry {
|
|||
border_box_size: &[&ResizeObserverSize],
|
||||
content_box_size: &[&ResizeObserverSize],
|
||||
device_pixel_content_box_size: &[&ResizeObserverSize],
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<ResizeObserverEntry> {
|
||||
let entry = Box::new(ResizeObserverEntry::new_inherited(
|
||||
target,
|
||||
|
@ -73,7 +74,7 @@ impl ResizeObserverEntry {
|
|||
content_box_size,
|
||||
device_pixel_content_box_size,
|
||||
));
|
||||
reflect_dom_object_with_proto(entry, window, None, CanGc::note())
|
||||
reflect_dom_object_with_proto(entry, window, None, can_gc)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue