diff options
author | tigercosmos <phy.tiger@gmail.com> | 2017-12-12 15:20:04 +0800 |
---|---|---|
committer | tigercosmos <phy.tiger@gmail.com> | 2017-12-16 12:04:59 +0800 |
commit | a504c9358b70fcf02bd8f2067fcbd17d16c89439 (patch) | |
tree | ebb807350a76fd98ea2ea27043688bebb0d17652 /components/script_traits/script_msg.rs | |
parent | 22472b4db4564f7bc274eb01447e4f04fd7e7205 (diff) | |
download | servo-a504c9358b70fcf02bd8f2067fcbd17d16c89439.tar.gz servo-a504c9358b70fcf02bd8f2067fcbd17d16c89439.zip |
Send IPC receiver for canvas as part of CreateCanvasPaintThread message
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index a9b5f86d8fe..fdef5cf7a17 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -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. |