mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
Don't require the CanvasFillOrStrokeStyle enum to be public
CanvasFillOrStrokeStyle is only used in a single file, so it does not need to be a public enum. Fixes #8105.
This commit is contained in:
parent
fde40edfdc
commit
60beb78bf3
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ use util::vec::byte_swap;
|
||||||
|
|
||||||
#[must_root]
|
#[must_root]
|
||||||
#[derive(JSTraceable, Clone, HeapSizeOf)]
|
#[derive(JSTraceable, Clone, HeapSizeOf)]
|
||||||
pub enum CanvasFillOrStrokeStyle {
|
enum CanvasFillOrStrokeStyle {
|
||||||
Color(RGBA),
|
Color(RGBA),
|
||||||
Gradient(JS<CanvasGradient>),
|
Gradient(JS<CanvasGradient>),
|
||||||
// Pattern(JS<CanvasPattern>), // https://github.com/servo/servo/pull/6157
|
// Pattern(JS<CanvasPattern>), // https://github.com/servo/servo/pull/6157
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue