mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #8115 - nerith:canvas, r=jdm
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. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8115) <!-- Reviewable:end -->
This commit is contained in:
commit
252e73ff9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue