From ef033b8362b143f3671863313bcd792c4bf17f45 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Wed, 14 Jun 2017 18:14:54 -0500 Subject: Implemented paint worklet properties. --- components/script_traits/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script_traits') diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 540bf7b47fc..85189c29229 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -828,11 +828,11 @@ impl From for PaintWorkletError { } /// Execute paint code in the worklet thread pool. -pub trait PaintWorkletExecutor: Sync + Send { +pub trait Painter: Sync + Send { /// https://drafts.css-houdini.org/css-paint-api/#draw-a-paint-image fn draw_a_paint_image(&self, - name: Atom, concrete_object_size: Size2D, + properties: Vec<(Atom, String)>, sender: IpcSender); } -- cgit v1.2.3