@@ -1989,7 +1989,7 @@ ExpectedOwnerForChild(const nsIFrame& aFrame)
19891989 // generated by our DOM parent, and go find the owner frame for it.
19901990 while (parent && (IsAnonBox (*parent) || parent->IsLineFrame ())) {
19911991 auto * pseudo = parent->Style ()->GetPseudo ();
1992- if (pseudo == nsCSSAnonBoxes::tableWrapper () ) {
1992+ if (pseudo == nsCSSAnonBoxes::tableWrapper) {
19931993 const nsIFrame* tableFrame = parent->PrincipalChildList ().FirstChild ();
19941994 MOZ_ASSERT (tableFrame->IsTableFrame ());
19951995 // Handle :-moz-table and :-moz-inline-table.
@@ -2057,10 +2057,10 @@ ServoRestyleState::AddPendingWrapperRestyle(nsIFrame* aWrapperFrame)
20572057 " All our wrappers are anon boxes, and why would we restyle "
20582058 " non-inheriting ones?" );
20592059 MOZ_ASSERT (aWrapperFrame->Style ()->GetPseudo () !=
2060- nsCSSAnonBoxes::cellContent () ,
2060+ nsCSSAnonBoxes::cellContent,
20612061 " Someone should be using TableAwareParentFor" );
20622062 MOZ_ASSERT (aWrapperFrame->Style ()->GetPseudo () !=
2063- nsCSSAnonBoxes::tableWrapper () ,
2063+ nsCSSAnonBoxes::tableWrapper,
20642064 " Someone should be using TableAwareParentFor" );
20652065 // Make sure we only add first continuations.
20662066 aWrapperFrame = aWrapperFrame->FirstContinuation ();
@@ -2188,7 +2188,7 @@ ServoRestyleState::TableAwareParentFor(const nsIFrame* aChild)
21882188
21892189 nsIFrame* parent = aChild->GetParent ();
21902190 // Now if parent is a cell-content frame, we actually want the cellframe.
2191- if (parent->Style ()->GetPseudo () == nsCSSAnonBoxes::cellContent () ) {
2191+ if (parent->Style ()->GetPseudo () == nsCSSAnonBoxes::cellContent) {
21922192 parent = parent->GetParent ();
21932193 } else if (parent->IsTableWrapperFrame ()) {
21942194 // Must be a caption. In that case we want the table here.
@@ -2380,14 +2380,14 @@ struct RestyleManager::TextPostTraversalState
23802380 ComputedStyle& aNewStyle)
23812381 {
23822382 MOZ_ASSERT (aTextFrame);
2383- MOZ_ASSERT (aNewStyle.GetPseudo () == nsCSSAnonBoxes::mozText () );
2383+ MOZ_ASSERT (aNewStyle.GetPseudo () == nsCSSAnonBoxes::mozText);
23842384
23852385 if (MOZ_LIKELY (!mShouldPostHints )) {
23862386 return ;
23872387 }
23882388
23892389 ComputedStyle* oldStyle = aTextFrame->Style ();
2390- MOZ_ASSERT (oldStyle->GetPseudo () == nsCSSAnonBoxes::mozText () );
2390+ MOZ_ASSERT (oldStyle->GetPseudo () == nsCSSAnonBoxes::mozText);
23912391
23922392 // We rely on the fact that all the text children for the same element share
23932393 // style to avoid recomputing style differences for all of them.
0 commit comments