diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-02-05 23:25:52 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-02-06 08:03:49 +0530 |
commit | a4ba33376a86775c4bef43fec8f8301a6a3fa113 (patch) | |
tree | 9270501f9fefb61039de5c488822763a63886122 /components/canvas/lib.rs | |
parent | 5f55cd5d71df9c555fbc24777168396ddd539f28 (diff) | |
download | servo-a4ba33376a86775c4bef43fec8f8301a6a3fa113.tar.gz servo-a4ba33376a86775c4bef43fec8f8301a6a3fa113.zip |
Remove dependency of constellation on canvas
move `ConstellationCanvasMsg` to canvas_traits and start canvas paint thread
to components/servo. This, however, does not remove dependency for conditional
compilation options.
Diffstat (limited to 'components/canvas/lib.rs')
-rw-r--r-- | components/canvas/lib.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/components/canvas/lib.rs b/components/canvas/lib.rs index bce829a04cc..b61e32a63e8 100644 --- a/components/canvas/lib.rs +++ b/components/canvas/lib.rs @@ -4,10 +4,6 @@ #![deny(unsafe_code)] -use canvas_traits::canvas::CanvasId; -use crossbeam_channel::Sender; -use euclid::default::Size2D; - #[macro_use] extern crate bitflags; #[macro_use] @@ -26,13 +22,3 @@ pub mod canvas_paint_thread; mod webgl_limits; mod webgl_mode; pub mod webgl_thread; - -pub enum ConstellationCanvasMsg { - Create { - id_sender: Sender<CanvasId>, - size: Size2D<u64>, - webrender_sender: webrender_api::RenderApiSender, - antialias: bool, - }, - Exit, -} |