mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
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:
parent
35fd3167b8
commit
ff49b801b0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user