Upgrade to bitflags 0.6.0 and selectors 0.5.6

Types generated by `bitflags!` are now private by default.  This PR marks them
`pub` where necessary.
This commit is contained in:
Matt Brubeck 2016-04-29 10:45:48 -07:00
parent d3f55fbf60
commit 1e23d90631
29 changed files with 77 additions and 90 deletions

View file

@ -11,7 +11,7 @@ use style::properties::{ComputedValues, ServoComputedValues};
bitflags! {
#[doc = "Individual layout actions that may be necessary after restyling."]
flags RestyleDamage: u8 {
pub flags RestyleDamage: u8 {
#[doc = "Repaint the node itself."]
#[doc = "Currently unused; need to decide how this propagates."]
const REPAINT = 0x01,
@ -45,7 +45,7 @@ bitflags! {
}
bitflags! {
flags SpecialRestyleDamage: u8 {
pub flags SpecialRestyleDamage: u8 {
#[doc = "If this flag is set, we need to reflow the entire document. This is more or less a \
temporary hack to deal with cases that we don't handle incrementally yet."]
const REFLOW_ENTIRE_DOCUMENT = 0x01,