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
|
@ -106,6 +106,7 @@ impl PannerNode {
|
|||
options.position_x, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
let position_y = AudioParam::new(
|
||||
window,
|
||||
|
@ -117,6 +118,7 @@ impl PannerNode {
|
|||
options.position_y, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
let position_z = AudioParam::new(
|
||||
window,
|
||||
|
@ -128,6 +130,7 @@ impl PannerNode {
|
|||
options.position_z, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
let orientation_x = AudioParam::new(
|
||||
window,
|
||||
|
@ -139,6 +142,7 @@ impl PannerNode {
|
|||
options.orientation_x, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
let orientation_y = AudioParam::new(
|
||||
window,
|
||||
|
@ -150,6 +154,7 @@ impl PannerNode {
|
|||
options.orientation_y, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
let orientation_z = AudioParam::new(
|
||||
window,
|
||||
|
@ -161,6 +166,7 @@ impl PannerNode {
|
|||
options.orientation_z, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
CanGc::note(),
|
||||
);
|
||||
Ok(PannerNode {
|
||||
node,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue