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
|
@ -128,14 +128,13 @@ impl ImageData {
|
|||
))
|
||||
}
|
||||
// https://html.spec.whatwg.org/multipage/#pixel-manipulation:dom-imagedata-3
|
||||
#[allow(unsafe_code)]
|
||||
#[allow(unsafe_code, non_snake_case)]
|
||||
pub fn Constructor(global: &GlobalScope, width: u32, height: u32) -> Fallible<DomRoot<Self>> {
|
||||
unsafe { Self::new_without_jsobject(global, width, height) }
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#pixel-manipulation:dom-imagedata-4
|
||||
#[allow(unsafe_code)]
|
||||
#[allow(unused_variables)]
|
||||
#[allow(unsafe_code, unused_variables, non_snake_case)]
|
||||
pub unsafe fn Constructor_(
|
||||
cx: JSContext,
|
||||
global: &GlobalScope,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue