diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<RecvTimeoutError> 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<Au>, + properties: Vec<(Atom, String)>, sender: IpcSender<CanvasData>); } |