mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Propagate CanGc
arguments through callers in constructors (#35541)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
5465bfc2af
commit
863d2ce871
260 changed files with 986 additions and 603 deletions
|
@ -852,6 +852,7 @@ impl CanvasState {
|
|||
CanvasGradient::new(
|
||||
global,
|
||||
CanvasGradientStyle::Linear(LinearGradientStyle::new(*x0, *y0, *x1, *y1, Vec::new())),
|
||||
CanGc::note(),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -882,6 +883,7 @@ impl CanvasState {
|
|||
*r1,
|
||||
Vec::new(),
|
||||
)),
|
||||
CanGc::note(),
|
||||
))
|
||||
}
|
||||
|
||||
|
@ -939,6 +941,7 @@ impl CanvasState {
|
|||
image_size,
|
||||
rep,
|
||||
self.is_origin_clean(image),
|
||||
CanGc::note(),
|
||||
)))
|
||||
} else {
|
||||
Err(Error::Syntax)
|
||||
|
@ -1079,6 +1082,7 @@ impl CanvasState {
|
|||
metrics.hanging_baseline.into(),
|
||||
metrics.alphabetic_baseline.into(),
|
||||
metrics.ideographic_baseline.into(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue