From a504c9358b70fcf02bd8f2067fcbd17d16c89439 Mon Sep 17 00:00:00 2001 From: tigercosmos Date: Tue, 12 Dec 2017 15:20:04 +0800 Subject: Send IPC receiver for canvas as part of CreateCanvasPaintThread message --- components/script_traits/script_msg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script_traits/script_msg.rs') 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, IpcSender>), + CreateCanvasPaintThread(Size2D, IpcReceiver), /// Notifies the constellation that this frame has received focus. Focus, /// Forward an event that was sent to the parent window. -- cgit v1.2.3