mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -38,11 +38,18 @@ impl TestWorklet {
|
|||
|
||||
fn new(window: &Window, proto: Option<HandleObject>) -> DomRoot<TestWorklet> {
|
||||
let worklet = Worklet::new(window, WorkletGlobalScopeType::Test);
|
||||
reflect_dom_object2(Box::new(TestWorklet::new_inherited(&*worklet)), window, proto)
|
||||
reflect_dom_object2(
|
||||
Box::new(TestWorklet::new_inherited(&*worklet)),
|
||||
window,
|
||||
proto,
|
||||
)
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
pub fn Constructor(window: &Window, proto: Option<HandleObject>) -> Fallible<DomRoot<TestWorklet>> {
|
||||
pub fn Constructor(
|
||||
window: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
) -> Fallible<DomRoot<TestWorklet>> {
|
||||
Ok(TestWorklet::new(window, proto))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue