Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst

This commit is contained in:
attinasi@netscape.com
2001-12-07 00:02:03 +00:00
parent 3a5c348fee
commit b631b4f643
3 changed files with 27 additions and 1 deletions

View File

@@ -5862,6 +5862,15 @@ nsDocShell::GetCanvasHasFocus(PRBool *aCanvasHasFocus)
return NS_ERROR_FAILURE;
}
/* boolean IsBeingDestroyed (); */
NS_IMETHODIMP
nsDocShell::IsBeingDestroyed(PRBool *aDoomed)
{
NS_ENSURE_ARG(aDoomed);
*aDoomed = mIsBeingDestroyed;
return NS_OK;
}
//*****************************************************************************
//*** nsRefreshTimer: Object Management
//*****************************************************************************