From 7ef73e9f20498af7f5609eb5f4742b887a34c563 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 22 Oct 2008 13:32:25 -0400 Subject: [PATCH] Pass the right thing to InternalLoad here. It happened to work before, but let's not depend on that. No bug, r+sr=biesi --- docshell/base/nsDocShell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index cafb74d19c1..8253373e4eb 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -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); }