Revert "Send IPC receiver for canvas as part of CreateCanvasPaintThread message"

This reverts commit a504c9358b.
This commit is contained in:
Josh Matthews 2017-12-18 10:51:00 -05:00
parent 3a37d80931
commit 0e211d0d8f
4 changed files with 18 additions and 13 deletions

View file

@ -79,7 +79,7 @@ pub enum ScriptMsg {
ChangeRunningAnimationsState(AnimationState),
/// Requests that a new 2D canvas thread be created. (This is done in the constellation because
/// 2D canvases may use the GPU and we don't want to give untrusted content access to the GPU.)
CreateCanvasPaintThread(Size2D<i32>, IpcReceiver<CanvasMsg>),
CreateCanvasPaintThread(Size2D<i32>, IpcSender<IpcSender<CanvasMsg>>),
/// Notifies the constellation that this frame has received focus.
Focus,
/// Forward an event that was sent to the parent window.