mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make CanvasData use GenericDrawTarget
This commit is contained in:
parent
7ace517770
commit
42bf1984be
2 changed files with 223 additions and 172 deletions
|
@ -197,7 +197,7 @@ impl<'a> CanvasPaintThread<'a> {
|
|||
Canvas2dMsg::SetShadowBlur(value) => self.canvas(canvas_id).set_shadow_blur(value),
|
||||
Canvas2dMsg::SetShadowColor(ref color) => self
|
||||
.canvas(canvas_id)
|
||||
.set_shadow_color(color.to_azure_style()),
|
||||
.set_shadow_color(Color::Azure(color.to_azure_style())),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue