Skip to content

Commit

Permalink
Don't require the CanvasFillOrStrokeStyle enum to be public
Browse files Browse the repository at this point in the history
CanvasFillOrStrokeStyle is only used in a single file,
so it does not need to be a public enum.

Fixes #8105.
  • Loading branch information
nerith committed Oct 21, 2015
1 parent fde40ed commit 60beb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/canvasrenderingcontext2d.rs
Expand Up @@ -47,7 +47,7 @@ use util::vec::byte_swap;

#[must_root]
#[derive(JSTraceable, Clone, HeapSizeOf)]
pub enum CanvasFillOrStrokeStyle {
enum CanvasFillOrStrokeStyle {
Color(RGBA),
Gradient(JS<CanvasGradient>),
// Pattern(JS<CanvasPattern>), // https://github.com/servo/servo/pull/6157
Expand Down

0 comments on commit 60beb78

Please sign in to comment.