style: Use cbindgen for basic_shape::FillRule.

Just a minor fix to use cbindgen to avoid the conversion between
basic_shape::FillRule and mozilla::StyleFillRule.

Differential Revision: https://phabricator.services.mozilla.com/D4171
This commit is contained in:
Boris Chiou 2018-08-23 23:00:16 +00:00 committed by Emilio Cobos Álvarez
parent e46daa09ea
commit 68ab6217bd
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 12 additions and 8 deletions

View file

@ -138,6 +138,7 @@ pub struct PolygonCoord<LengthOrPercentage>(pub LengthOrPercentage, pub LengthOr
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
#[derive(Clone, Copy, Debug, Eq, MallocSizeOf, Parse, PartialEq,
SpecifiedValueInfo, ToComputedValue, ToCss)]
#[repr(u8)]
pub enum FillRule {
Nonzero,
Evenodd,