diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-07 13:27:19 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-08 09:44:41 +0530 |
commit | 02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (patch) | |
tree | b80ca8ca874d2e4b30b579795292c168daccbb39 /components/script/dom/mediastream.rs | |
parent | bd636b0e6c4f124281ce9206eedd7f60ba4ed475 (diff) | |
download | servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.tar.gz servo-02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9.zip |
Add accountable-refcell as optional build time feature
Diffstat (limited to 'components/script/dom/mediastream.rs')
-rw-r--r-- | components/script/dom/mediastream.rs | 3 |
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 { |