diff options
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index 74ce33ff564..92a5fb041ef 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use bluetooth_traits::BluetoothRequest; -use canvas_traits::webgl::WebGLPipeline; use compositing::CompositionPipeline; use compositing::CompositorProxy; use compositing::compositor_thread::Msg as CompositorMsg; @@ -172,12 +171,8 @@ pub struct InitialPipelineState { /// Whether this pipeline is considered private. pub is_private: bool, - - /// A channel to the webgl thread. - pub webgl_chan: WebGLPipeline, - /// A channel to the webvr thread. - pub webvr_chan: Option<IpcSender<WebVRMsg>>, + pub webvr_thread: Option<IpcSender<WebVRMsg>>, } impl Pipeline { @@ -275,8 +270,7 @@ impl Pipeline { script_content_process_shutdown_port: script_content_process_shutdown_port, webrender_api_sender: state.webrender_api_sender, webrender_document: state.webrender_document, - webgl_chan: state.webgl_chan, - webvr_chan: state.webvr_chan, + webvr_thread: state.webvr_thread, }; // Spawn the child process. @@ -476,8 +470,7 @@ pub struct UnprivilegedPipelineContent { script_content_process_shutdown_port: IpcReceiver<()>, webrender_api_sender: webrender_api::RenderApiSender, webrender_document: webrender_api::DocumentId, - webgl_chan: WebGLPipeline, - webvr_chan: Option<IpcSender<WebVRMsg>>, + webvr_thread: Option<IpcSender<WebVRMsg>>, } impl UnprivilegedPipelineContent { @@ -506,8 +499,7 @@ impl UnprivilegedPipelineContent { window_size: self.window_size, pipeline_namespace_id: self.pipeline_namespace_id, content_process_shutdown_chan: self.script_content_process_shutdown_chan, - webgl_chan: self.webgl_chan, - webvr_chan: self.webvr_chan, + webvr_thread: self.webvr_thread, }, self.load_data.clone()); LTF::create(self.id, |