diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-24 13:29:09 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-01-24 20:52:36 +0530 |
commit | 5a3e1b8e6903c825e50597a218532d417f1dfef9 (patch) | |
tree | 50770b139f2e9968f7c15de246f222936975722f /components/script/dom/xrinputsource.rs | |
parent | be409233fdf8d3578e0529ec150a3697788ba4c8 (diff) | |
download | servo-5a3e1b8e6903c825e50597a218532d417f1dfef9.tar.gz servo-5a3e1b8e6903c825e50597a218532d417f1dfef9.zip |
rename compartment to realm
Diffstat (limited to 'components/script/dom/xrinputsource.rs')
-rw-r--r-- | components/script/dom/xrinputsource.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xrinputsource.rs b/components/script/dom/xrinputsource.rs index e0da8bea550..d67945040b1 100644 --- a/components/script/dom/xrinputsource.rs +++ b/components/script/dom/xrinputsource.rs @@ -2,7 +2,6 @@ * 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::compartments::enter_realm; use crate::dom::bindings::codegen::Bindings::XRInputSourceBinding; use crate::dom::bindings::codegen::Bindings::XRInputSourceBinding::{ XRHandedness, XRInputSourceMethods, XRTargetRayMode, @@ -12,6 +11,7 @@ use crate::dom::bindings::root::{Dom, DomRoot, MutNullableDom}; use crate::dom::globalscope::GlobalScope; use crate::dom::xrsession::XRSession; use crate::dom::xrspace::XRSpace; +use crate::realms::enter_realm; use crate::script_runtime::JSContext; use dom_struct::dom_struct; use js::conversions::ToJSValConvertible; |