Bug 1397168 - Add a function to find out if a node has any ancestor that is pending for restyling. r=emilio
MozReview-Commit-ID: DXcodMcQP59
This commit is contained in:
@@ -1202,6 +1202,12 @@ ServoRestyleManager::ProcessAllPendingAttributeAndStateInvalidations()
|
||||
ClearSnapshots();
|
||||
}
|
||||
|
||||
bool
|
||||
ServoRestyleManager::HasPendingRestyleAncestor(Element* aElement) const
|
||||
{
|
||||
return Servo_HasPendingRestyleAncestor(aElement);
|
||||
}
|
||||
|
||||
void
|
||||
ServoRestyleManager::UpdateOnlyAnimationStyles()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user