diff options
Diffstat (limited to 'components/script/dom/messagechannel.rs')
-rw-r--r-- | components/script/dom/messagechannel.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/messagechannel.rs b/components/script/dom/messagechannel.rs index 0b74c0e60d8..ca3d8738143 100644 --- a/components/script/dom/messagechannel.rs +++ b/components/script/dom/messagechannel.rs @@ -2,13 +2,14 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use dom_struct::dom_struct; +use js::rust::HandleObject; + use crate::dom::bindings::codegen::Bindings::MessageChannelBinding::MessageChannelMethods; use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, Reflector}; use crate::dom::bindings::root::{Dom, DomRoot}; use crate::dom::globalscope::GlobalScope; use crate::dom::messageport::MessagePort; -use dom_struct::dom_struct; -use js::rust::HandleObject; #[dom_struct] pub struct MessageChannel { |