mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -29,8 +29,15 @@ impl PaintSize {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(global: &PaintWorkletGlobalScope, size: TypedSize2D<f32, CSSPixel>) -> DomRoot<PaintSize> {
|
||||
reflect_dom_object(Box::new(PaintSize::new_inherited(size)), global, PaintSizeBinding::Wrap)
|
||||
pub fn new(
|
||||
global: &PaintWorkletGlobalScope,
|
||||
size: TypedSize2D<f32, CSSPixel>,
|
||||
) -> DomRoot<PaintSize> {
|
||||
reflect_dom_object(
|
||||
Box::new(PaintSize::new_inherited(size)),
|
||||
global,
|
||||
PaintSizeBinding::Wrap,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue