Issue #2112 - Part 3: Remove --enable-stylo config and conditionals

This commit is contained in:
FranklinDM 2022-05-23 23:05:22 +08:00 committed by roytam1
commit e777ae5a3c
21 changed files with 0 additions and 254 deletions

View file

@ -152,9 +152,6 @@ nsINode::~nsINode()
{
MOZ_ASSERT(!HasSlots(), "nsNodeUtils::LastRelease was not called?");
MOZ_ASSERT(mSubtreeRoot == this, "Didn't restore state properly?");
#ifdef MOZ_STYLO
ClearServoData();
#endif
}
void*
@ -1445,11 +1442,7 @@ nsINode::UnoptimizableCCNode() const
void
nsINode::ClearServoData() {
#ifdef MOZ_STYLO
Servo_Node_ClearNodeData(this);
#else
MOZ_CRASH("Accessing servo node data in non-stylo build");
#endif
}
/* static */
@ -3193,14 +3186,6 @@ nsINode::IsNodeApzAwareInternal() const
return EventTarget::IsApzAware();
}
#ifdef MOZ_STYLO
bool
nsINode::IsStyledByServo() const
{
return OwnerDoc()->IsStyledByServo();
}
#endif
DocGroup*
nsINode::GetDocGroup() const
{