From a3392610c3414a86a2294073bdc59c78c237bfda Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Tue, 2 Oct 2018 13:25:45 +0200 Subject: Make HTMLCanvasElement::get_size return a Size2D The changes keep trickling down. --- 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 14edaee58b6..3ec82114126 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -103,7 +103,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<(IpcSender, CanvasId)>), + CreateCanvasPaintThread(Size2D, IpcSender<(IpcSender, CanvasId)>), /// Notifies the constellation that this frame has received focus. Focus, /// Requests that the constellation retrieve the current contents of the clipboard -- cgit v1.2.3