aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xr.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-07-10 13:57:47 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-07-11 11:12:59 -0700
commit7a8640ec1e922003e9c29743b6ba5a394ef8588f (patch)
treed994e28cfc39924f798b395fe7d9ba8ab0fd48cd /components/script/dom/xr.rs
parentb654b6007a0673be6297443dbdf1d5d39e91a670 (diff)
downloadservo-7a8640ec1e922003e9c29743b6ba5a394ef8588f.tar.gz
servo-7a8640ec1e922003e9c29743b6ba5a394ef8588f.zip
Remove session deactivation
Diffstat (limited to 'components/script/dom/xr.rs')
-rw-r--r--components/script/dom/xr.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/xr.rs b/components/script/dom/xr.rs
index db2fd105a33..e28e8a27249 100644
--- a/components/script/dom/xr.rs
+++ b/components/script/dom/xr.rs
@@ -76,11 +76,6 @@ impl XR {
self.pending_immersive_session.set(false);
self.active_immersive_session.set(Some(session))
}
-
- pub fn deactivate_session(&self) {
- self.pending_immersive_session.set(false);
- self.active_immersive_session.set(None)
- }
}
impl Drop for XR {