nsPresContext *presContext = mRuleNode->GetPresContext();  presContext->PresShell()->StyleSet()-> NotifyStyleContextDestroyed(presContext, this);
nsStyleContext::~nsStyleContext(){  NS_ASSERTION((nsnull == mChild) && (nsnull == mEmptyChild), "destructing context with children");  nsPresContext *presContext = mRuleNode->GetPresContext();  presContext->PresShell()->StyleSet()->    NotifyStyleContextDestroyed(presContext, this);  if (mParent) {    mParent->RemoveChild(this);    mParent->Release();  }  // Free up our data structs.  if (mCachedStyleData.mResetData || mCachedStyleData.mInheritedData) {    mCachedStyleData.Destroy(mBits, presContext);  }}