aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/compartments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/compartments.rs')
-rw-r--r--components/script/compartments.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/compartments.rs b/components/script/compartments.rs
index 552b7573d83..d047f7fdbcb 100644
--- a/components/script/compartments.rs
+++ b/components/script/compartments.rs
@@ -27,8 +27,4 @@ impl<'a> InCompartment<'a> {
pub fn in_compartment(token: &AlreadyInCompartment) -> InCompartment {
InCompartment::Already(token)
}
-
- pub fn entered(token: &JSAutoRealm) -> InCompartment {
- InCompartment::Entered(token)
- }
}