mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
02199520f2
commit
b0b0289014
74 changed files with 403 additions and 275 deletions
|
@ -194,7 +194,7 @@ impl OffscreenCanvasMethods<crate::DomTypeHolder> for OffscreenCanvas {
|
|||
}
|
||||
|
||||
if let Some(canvas) = &self.placeholder {
|
||||
canvas.set_natural_width(value as _);
|
||||
canvas.set_natural_width(value as _, CanGc::note());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ impl OffscreenCanvasMethods<crate::DomTypeHolder> for OffscreenCanvas {
|
|||
}
|
||||
|
||||
if let Some(canvas) = &self.placeholder {
|
||||
canvas.set_natural_height(value as _);
|
||||
canvas.set_natural_height(value as _, CanGc::note());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue