mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -295,7 +295,8 @@ impl DOMMatrixMethods for DOMMatrix {
|
|||
// https://drafts.fxtf.org/geometry-1/#dom-dommatrix-multiplyself
|
||||
fn MultiplySelf(&self, other: &DOMMatrixInit) -> Fallible<DomRoot<DOMMatrix>> {
|
||||
// Steps 1-3.
|
||||
self.upcast::<DOMMatrixReadOnly>().multiply_self(other)
|
||||
self.upcast::<DOMMatrixReadOnly>()
|
||||
.multiply_self(other)
|
||||
// Step 4.
|
||||
.and(Ok(DomRoot::from_ref(&self)))
|
||||
}
|
||||
|
@ -303,7 +304,8 @@ impl DOMMatrixMethods for DOMMatrix {
|
|||
// https://drafts.fxtf.org/geometry-1/#dom-dommatrix-premultiplyself
|
||||
fn PreMultiplySelf(&self, other: &DOMMatrixInit) -> Fallible<DomRoot<DOMMatrix>> {
|
||||
// Steps 1-3.
|
||||
self.upcast::<DOMMatrixReadOnly>().pre_multiply_self(other)
|
||||
self.upcast::<DOMMatrixReadOnly>()
|
||||
.pre_multiply_self(other)
|
||||
// Step 4.
|
||||
.and(Ok(DomRoot::from_ref(&self)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue