mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
style: Refactor InvalidationMap flags to use bitflags.
Differential Revision: https://phabricator.services.mozilla.com/D55862
This commit is contained in:
parent
51c1dfee2d
commit
5e7d429c0a
3 changed files with 35 additions and 30 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue