NS_IMETHODIMP DestroyDrawingSurface(nsDrawingSurface aDS) { nsDrawingSurfacePh *surf = (nsDrawingSurfacePh *) aDS; NS_IF_RELEASE(surf); return NS_OK; }
NS_IMETHODIMP nsRenderingContextPh :: DestroyDrawingSurface(nsDrawingSurface aDS) { nsDrawingSurfacePh *surf = (nsDrawingSurfacePh *) aDS;  PR_LOG(PhGfxLog, PR_LOG_DEBUG, ("nsRenderingContextPh::DestroyDrawingSurface this=<%p> surface=<%p>\n", this, surf));  NS_IF_RELEASE(surf);  PR_LOG(PhGfxLog, PR_LOG_DEBUG, ("nsRenderingContextPh::DestroyDrawingSurface after Release\n"));  return NS_OK; }
   NS_IMETHODIMP DestroyDrawingSurface(nsDrawingSurface aDS)		{ nsDrawingSurfacePh *surf = (nsDrawingSurfacePh *) aDS;			NS_IF_RELEASE(surf);			return NS_OK;		}