aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediastream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/mediastream.rs')
-rw-r--r--components/script/dom/mediastream.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/mediastream.rs b/components/script/dom/mediastream.rs
index 2ae573b290e..88729b57ce5 100644
--- a/components/script/dom/mediastream.rs
+++ b/components/script/dom/mediastream.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use crate::dom::bindings::cell::DomRefCell;
+use crate::dom::bindings::cell::{DomRefCell, Ref};
use crate::dom::bindings::codegen::Bindings::MediaStreamBinding::{self, MediaStreamMethods};
use crate::dom::bindings::error::Fallible;
use crate::dom::bindings::reflector::{reflect_dom_object, DomObject};
@@ -14,7 +14,6 @@ use crate::dom::mediastreamtrack::MediaStreamTrack;
use crate::dom::window::Window;
use dom_struct::dom_struct;
use servo_media::streams::MediaStreamType;
-use std::cell::Ref;
#[dom_struct]
pub struct MediaStream {