Pass the right thing to InternalLoad here. It happened to work before, but let's not depend on that. No bug, r+sr=biesi

This commit is contained in:
Boris Zbarsky 2008-10-22 13:32:25 -04:00
parent 9388b2d6e0
commit 7ef73e9f20

View File

@ -3333,7 +3333,8 @@ nsDocShell::LoadErrorPage(nsIURI *aURI, const PRUnichar *aURL,
nsresult rv = NS_NewURI(getter_AddRefs(errorPageURI), errorPageUrl);
NS_ENSURE_SUCCESS(rv, rv);
return InternalLoad(errorPageURI, nsnull, nsnull, PR_TRUE, nsnull, nsnull,
return InternalLoad(errorPageURI, nsnull, nsnull,
INTERNAL_LOAD_FLAGS_INHERIT_OWNER, nsnull, nsnull,
nsnull, nsnull, LOAD_ERROR_PAGE,
nsnull, PR_TRUE, nsnull, nsnull);
}