style: Refactor InvalidationMap flags to use bitflags.

Differential Revision: https://phabricator.services.mozilla.com/D55862
This commit is contained in:
enordin 2019-12-05 00:13:49 +00:00 committed by Emilio Cobos Álvarez
parent 51c1dfee2d
commit 5e7d429c0a
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
3 changed files with 35 additions and 30 deletions

View file

@ -71,7 +71,7 @@ impl GeckoElementSnapshot {
}
/// Returns true if the snapshot recorded an attribute change which isn't a
/// class or id change.
/// class / id
#[inline]
pub fn other_attr_changed(&self) -> bool {
self.mOtherAttributeChanged()