Part of fix for 191524, fix a crash in nsIconURI::Equals that occurs when you clear the download manager datasource with the downloads sidebar in Phoenix open. Add null check. r=pavlov, sr=bryner, a=asa

This commit is contained in:
ben%netscape.com 2003-02-01 09:09:24 +00:00
parent 35fd3167b8
commit ff49b801b0

View File

@ -298,6 +298,9 @@ nsMozIconURI::SetPath(const nsACString &aPath)
NS_IMETHODIMP
nsMozIconURI::Equals(nsIURI *other, PRBool *result)
{
NS_ENSURE_ARG_POINTER(other);
NS_PRECONDITION(result, "null pointer");
nsCAutoString spec1;
nsCAutoString spec2;