mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -27,6 +27,7 @@ pub struct DOMMatrix {
|
|||
parent: DOMMatrixReadOnly,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl DOMMatrix {
|
||||
#[allow(unrooted_must_root)]
|
||||
pub fn new(global: &GlobalScope, is2D: bool, matrix: Transform3D<f64>) -> DomRoot<Self> {
|
||||
|
@ -74,7 +75,7 @@ impl DOMMatrix {
|
|||
}
|
||||
|
||||
pub fn from_readonly(global: &GlobalScope, ro: &DOMMatrixReadOnly) -> DomRoot<Self> {
|
||||
Self::new(global, ro.is_2d(), ro.matrix().clone())
|
||||
Self::new(global, ro.is2D(), ro.matrix().clone())
|
||||
}
|
||||
|
||||
// https://drafts.fxtf.org/geometry-1/#dom-dommatrix-fromfloat32array
|
||||
|
@ -102,6 +103,7 @@ impl DOMMatrix {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl DOMMatrixMethods for DOMMatrix {
|
||||
// https://drafts.fxtf.org/geometry-1/#dom-dommatrixreadonly-m11
|
||||
fn M11(&self) -> f64 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue