aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/trackevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/trackevent.rs')
-rw-r--r--components/script/dom/trackevent.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/trackevent.rs b/components/script/dom/trackevent.rs
index 5a734a0e4c9..634548eb351 100644
--- a/components/script/dom/trackevent.rs
+++ b/components/script/dom/trackevent.rs
@@ -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> {