mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #2112 - Part 3: Remove --enable-stylo config and conditionals
This commit is contained in:
parent
88ac168f96
commit
e777ae5a3c
21 changed files with 0 additions and 254 deletions
|
|
@ -88,18 +88,9 @@ nsStyleContext::nsStyleContext(nsStyleContext* aParent,
|
|||
, mEmptyChild(nullptr)
|
||||
, mPseudoTag(aPseudoTag)
|
||||
, mSource(Move(aSource))
|
||||
#ifdef MOZ_STYLO
|
||||
, mPresContext(nullptr)
|
||||
#endif
|
||||
, mCachedResetData(nullptr)
|
||||
, mBits(((uint64_t)aPseudoType) << NS_STYLE_CONTEXT_TYPE_SHIFT)
|
||||
, mRefCnt(0)
|
||||
#ifdef MOZ_STYLO
|
||||
, mStoredChangeHint(nsChangeHint(0))
|
||||
#ifdef DEBUG
|
||||
, mConsumedChangeHint(false)
|
||||
#endif
|
||||
#endif
|
||||
#ifdef DEBUG
|
||||
, mFrameRefCnt(0)
|
||||
, mComputingStruct(nsStyleStructID_None)
|
||||
|
|
@ -116,10 +107,6 @@ nsStyleContext::nsStyleContext(nsStyleContext* aParent,
|
|||
: nsStyleContext(aParent, OwningStyleContextSource(Move(aRuleNode)),
|
||||
aPseudoTag, aPseudoType)
|
||||
{
|
||||
#ifdef MOZ_STYLO
|
||||
mPresContext = mSource.AsGeckoRuleNode()->PresContext();
|
||||
#endif
|
||||
|
||||
if (aParent) {
|
||||
#ifdef DEBUG
|
||||
nsRuleNode *r1 = mParent->RuleNode(), *r2 = mSource.AsGeckoRuleNode();
|
||||
|
|
@ -146,10 +133,6 @@ nsStyleContext::nsStyleContext(nsStyleContext* aParent,
|
|||
: nsStyleContext(aParent, OwningStyleContextSource(Move(aComputedValues)),
|
||||
aPseudoTag, aPseudoType)
|
||||
{
|
||||
#ifdef MOZ_STYLO
|
||||
mPresContext = aPresContext;
|
||||
#endif
|
||||
|
||||
FinishConstruction(aSkipParentDisplayBasedStyleFixup);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue