diff options
author | est31 <MTest31@outlook.com> | 2019-06-02 07:10:40 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2019-06-02 07:12:26 +0200 |
commit | 8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4 (patch) | |
tree | f52105b50b51f3d32eaec904369f0b24bee62290 /components/script/compartments.rs | |
parent | 8dc7a25893cbe9a2c958966618d28757201899b6 (diff) | |
download | servo-8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4.tar.gz servo-8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4.zip |
Remove unused code from script* crates
Diffstat (limited to 'components/script/compartments.rs')
-rw-r--r-- | components/script/compartments.rs | 4 |
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) - } } |