mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -68,7 +68,11 @@ impl GPUCompilationMessage {
|
|||
)
|
||||
}
|
||||
|
||||
pub(crate) fn from(global: &GlobalScope, info: ShaderCompilationInfo) -> DomRoot<Self> {
|
||||
pub(crate) fn from(
|
||||
global: &GlobalScope,
|
||||
info: ShaderCompilationInfo,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<Self> {
|
||||
GPUCompilationMessage::new(
|
||||
global,
|
||||
info.message.into(),
|
||||
|
@ -77,7 +81,7 @@ impl GPUCompilationMessage {
|
|||
info.line_pos,
|
||||
info.offset,
|
||||
info.length,
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue