if (mMacOriginRelativeClipRgn) { ::DisposeRgn(mMacOriginRelativeClipRgn); mMacOriginRelativeClipRgn = nsnull; }  if (mMacPortRelativeClipRgn) { ::DisposeRgn(mMacPortRelativeClipRgn); mMacPortRelativeClipRgn = nsnull; }
GraphicState::~GraphicState(){	if (mTMatrix)	{		delete mTMatrix;		mTMatrix = nsnull;	}	if (mMainRegion)	{		::DisposeRgn(mMainRegion);		mMainRegion = nsnull;	}	if (mClipRegion)	{		::DisposeRgn(mClipRegion);		mClipRegion = nsnull;	}  NS_IF_RELEASE(mFontMetrics);	if (mMacOriginRelativeClipRgn)	{		::DisposeRgn(mMacOriginRelativeClipRgn);		mMacOriginRelativeClipRgn = nsnull;	}	if (mMacPortRelativeClipRgn)	{		::DisposeRgn(mMacPortRelativeClipRgn);		mMacPortRelativeClipRgn = nsnull;	}}