diff options
Diffstat (limited to 'components/style/stylesheets/origin.rs')
-rw-r--r-- | components/style/stylesheets/origin.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/style/stylesheets/origin.rs b/components/style/stylesheets/origin.rs index 5defc2a3db2..a64214691c0 100644 --- a/components/style/stylesheets/origin.rs +++ b/components/style/stylesheets/origin.rs @@ -41,13 +41,13 @@ impl Origin { bitflags! { /// A set of origins. This is equivalent to Gecko's OriginFlags. #[cfg_attr(feature = "servo", derive(MallocSizeOf))] - pub struct OriginSet: u8 { + pub flags OriginSet: u8 { /// <https://drafts.csswg.org/css-cascade/#cascade-origin-user-agent> - const ORIGIN_USER_AGENT = Origin::UserAgent as u8; + const ORIGIN_USER_AGENT = Origin::UserAgent as u8, /// <https://drafts.csswg.org/css-cascade/#cascade-origin-user> - const ORIGIN_USER = Origin::User as u8; + const ORIGIN_USER = Origin::User as u8, /// <https://drafts.csswg.org/css-cascade/#cascade-origin-author> - const ORIGIN_AUTHOR = Origin::Author as u8; + const ORIGIN_AUTHOR = Origin::Author as u8, } } |