Commit 0b952f22 authored by Boris Zbarsky's avatar Boris Zbarsky
Browse files

Pass the right thing to InternalLoad here. It happened to work before, but...

Pass the right thing to InternalLoad here.  It happened to work before, but let's not depend on that.  No bug, r+sr=biesi
parent a2bca640
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
}