diff options
author | Gecko Backout <gecko-backout@mozilla.org> | 2017-10-19 21:26:51 +0000 |
---|---|---|
committer | moz-servo-sync <developer-services+moz-servo-sync@mozilla.org> | 2017-10-19 21:26:51 +0000 |
commit | 11c64178d86979e8d50f11cff66c2b0e8fe666c1 (patch) | |
tree | 083c71bdf8216ca56d38d509e5b2988eb18da5ca /components/style/stylesheets/origin.rs | |
parent | fe16c1d5c3c9084da0ccb85af599d6ec0f8ab20b (diff) | |
download | servo-11c64178d86979e8d50f11cff66c2b0e8fe666c1.tar.gz servo-11c64178d86979e8d50f11cff66c2b0e8fe666c1.zip |
Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18809
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, } } |