diff options
Diffstat (limited to 'components/compositing/compositor_thread.rs')
-rw-r--r-- | components/compositing/compositor_thread.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/compositing/compositor_thread.rs b/components/compositing/compositor_thread.rs index e4dee4f595a..1a7ee9309cb 100644 --- a/components/compositing/compositor_thread.rs +++ b/components/compositing/compositor_thread.rs @@ -18,6 +18,7 @@ use script_traits::{AnimationState, ConstellationMsg, EventResult}; use std::fmt::{Debug, Error, Formatter}; use style_traits::viewport::ViewportConstraints; use webrender_api::{self, DeviceIntPoint, DeviceIntSize}; +use webvr_traits::WebVRMainThreadHeartbeat; /// Sends messages to the compositor. pub struct CompositorProxy { @@ -153,4 +154,5 @@ pub struct InitialCompositorState { pub webrender: webrender::Renderer, pub webrender_document: webrender_api::DocumentId, pub webrender_api: webrender_api::RenderApi, + pub webvr_heartbeats: Vec<Box<WebVRMainThreadHeartbeat>>, } |