mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Inline a bunch of trivial stuff we're paying calls for in Geckolib.
This commit is contained in:
parent
10779f0251
commit
fcd6e79659
5 changed files with 23 additions and 0 deletions
|
@ -77,6 +77,7 @@ pub fn assert_traversal_flags_match() {
|
|||
|
||||
impl TraversalFlags {
|
||||
/// Returns true if the traversal is for animation-only restyles.
|
||||
#[inline]
|
||||
pub fn for_animation_only(&self) -> bool {
|
||||
self.contains(AnimationOnly)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue