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
|
@ -3547,7 +3547,7 @@ impl WebGL2RenderingContextMethods<crate::DomTypeHolder> for WebGL2RenderingCont
|
|||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.12>
|
||||
fn CreateQuery(&self) -> Option<DomRoot<WebGLQuery>> {
|
||||
Some(WebGLQuery::new(&self.base))
|
||||
Some(WebGLQuery::new(&self.base, CanGc::note()))
|
||||
}
|
||||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.12>
|
||||
|
@ -3588,7 +3588,7 @@ impl WebGL2RenderingContextMethods<crate::DomTypeHolder> for WebGL2RenderingCont
|
|||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13>
|
||||
fn CreateSampler(&self) -> Option<DomRoot<WebGLSampler>> {
|
||||
Some(WebGLSampler::new(&self.base))
|
||||
Some(WebGLSampler::new(&self.base, CanGc::note()))
|
||||
}
|
||||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13>
|
||||
|
@ -3728,7 +3728,7 @@ impl WebGL2RenderingContextMethods<crate::DomTypeHolder> for WebGL2RenderingCont
|
|||
return None;
|
||||
}
|
||||
|
||||
Some(WebGLSync::new(&self.base))
|
||||
Some(WebGLSync::new(&self.base, CanGc::note()))
|
||||
}
|
||||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.14>
|
||||
|
@ -3911,7 +3911,7 @@ impl WebGL2RenderingContextMethods<crate::DomTypeHolder> for WebGL2RenderingCont
|
|||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15>
|
||||
fn CreateTransformFeedback(&self) -> Option<DomRoot<WebGLTransformFeedback>> {
|
||||
Some(WebGLTransformFeedback::new(&self.base))
|
||||
Some(WebGLTransformFeedback::new(&self.base, CanGc::note()))
|
||||
}
|
||||
|
||||
/// <https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15>
|
||||
|
@ -4114,6 +4114,7 @@ impl WebGL2RenderingContextMethods<crate::DomTypeHolder> for WebGL2RenderingCont
|
|||
size,
|
||||
ty,
|
||||
DOMString::from(name),
|
||||
CanGc::note(),
|
||||
))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue