mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
|
@ -34,6 +34,7 @@ pub struct TrackEvent {
|
|||
track: Option<MediaTrack>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl TrackEvent {
|
||||
#[allow(unrooted_must_root)]
|
||||
fn new_inherited(track: &Option<VideoTrackOrAudioTrackOrTextTrack>) -> TrackEvent {
|
||||
|
@ -90,6 +91,7 @@ impl TrackEvent {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl TrackEventMethods for TrackEvent {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-trackevent-track
|
||||
fn GetTrack(&self) -> Option<VideoTrackOrAudioTrackOrTextTrack> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue