aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/realms.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/realms.rs')
-rw-r--r--components/script/realms.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/realms.rs b/components/script/realms.rs
index 48b141aae56..37ed21366a3 100644
--- a/components/script/realms.rs
+++ b/components/script/realms.rs
@@ -2,10 +2,11 @@
* 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 js::jsapi::{GetCurrentRealmOrNull, JSAutoRealm};
+
use crate::dom::bindings::reflector::DomObject;
use crate::dom::globalscope::GlobalScope;
use crate::script_runtime::JSContext;
-use js::jsapi::{GetCurrentRealmOrNull, JSAutoRealm};
pub struct AlreadyInRealm(());