NS_IMETHODIMP CopyClipRegion(nsIRegion &aRegion) { if( !mClipRegion ) return NS_ERROR_FAILURE; aRegion.SetTo(*NS_STATIC_CAST(nsIRegion*, mClipRegion)); return NS_OK; }
NS_IMETHODIMP nsRenderingContextPh :: CopyClipRegion(nsIRegion &aRegion) { PR_LOG(PhGfxLog, PR_LOG_DEBUG, ("nsRenderingContextPh::CopyClipRegion\n")); aRegion.SetTo(*NS_STATIC_CAST(nsIRegion*, mClipRegion));  return NS_ERROR_FAILURE; }
   NS_IMETHODIMP CopyClipRegion(nsIRegion &aRegion)		{ if( !mClipRegion ) return NS_ERROR_FAILURE;			aRegion.SetTo(*NS_STATIC_CAST(nsIRegion*, mClipRegion));			return NS_OK;		}