Rename FillRule variants to follow the same rules as other enums

This commit is contained in:
Anthony Ramine 2018-01-30 11:55:42 +01:00
parent bac8781cc7
commit 09e304adb3
3 changed files with 6 additions and 6 deletions

View file

@ -5101,7 +5101,7 @@ fn static_assert() {
coord.0.to_gecko_style_coord(&mut shape.mCoordinates[2 * i]);
coord.1.to_gecko_style_coord(&mut shape.mCoordinates[2 * i + 1]);
}
shape.mFillRule = if poly.fill == FillRule::EvenOdd {
shape.mFillRule = if poly.fill == FillRule::Evenodd {
StyleFillRule::Evenodd
} else {
StyleFillRule::Nonzero