mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Send IPC receiver for canvas as part of CreateCanvasPaintThread message
This commit is contained in:
parent
22472b4db4
commit
a504c9358b
4 changed files with 13 additions and 18 deletions
|
@ -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>, IpcSender<IpcSender<CanvasMsg>>),
|
||||
CreateCanvasPaintThread(Size2D<i32>, IpcReceiver<CanvasMsg>),
|
||||
/// Notifies the constellation that this frame has received focus.
|
||||
Focus,
|
||||
/// Forward an event that was sent to the parent window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue