MOZ_COUNT_CTOR(StyleContextImpl);
StyleContextImpl::StyleContextImpl(nsIStyleContext* aParent,                                   nsIAtom* aPseudoTag,                                   nsISupportsArray* aRules,                                    nsIPresContext* aPresContext)  : mParent((StyleContextImpl*)aParent),    mChild(nsnull),    mEmptyChild(nsnull),    mPseudoTag(aPseudoTag),    mRules(aRules),    mDataCode(-1),    mFont(aPresContext->GetDefaultFontDeprecated(), aPresContext->GetDefaultFixedFontDeprecated()),    mColor(),    mSpacing(),    mList(),    mPosition(),    mText(),    mDisplay(),    mTable(),    mContent(),    mUserInterface(){  MOZ_COUNT_CTOR(StyleContextImpl);  NS_INIT_REFCNT();  NS_IF_ADDREF(mPseudoTag);  NS_IF_ADDREF(mRules);  mNextSibling = this;  mPrevSibling = this;  if (nsnull != mParent) {    NS_ADDREF(mParent);    mParent->AppendChild(this);  }  mRuleHash = 0;  if (nsnull != mRules) {    mRules->EnumerateForwards(HashStyleRule, &mRuleHash);  }#ifdef DEBUG_REFS  mInstance = ++gInstanceCount;  fprintf(stdout, "%d of %d + StyleContext\n", mInstance, gInstanceCount);#endif}