NS_IMETHOD  CreateRenderingContext(nsIRenderingContext *&aContext){return NS_ERROR_NOT_IMPLEMENTED;}
NS_IMETHODIMP DeviceContextImpl :: CreateRenderingContext(nsIWidget *aWidget, nsIRenderingContext *&aContext) { nsIRenderingContext *pContext; nsresult             rv;  static NS_DEFINE_CID(kRCCID, NS_RENDERING_CONTEXT_CID);  aContext = nsnull; rv = nsComponentManager::CreateInstance(kRCCID, nsnull, NS_GET_IID(nsIRenderingContext), (void **)&pContext);  if (NS_OK == rv) { rv = InitRenderingContext(pContext, aWidget); if (NS_OK != rv) { NS_RELEASE(pContext); } }  aContext = pContext; return rv; }
  NS_IMETHOD  CreateRenderingContext(nsIRenderingContext *&aContext){return NS_ERROR_NOT_IMPLEMENTED;}