diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 3e54b340b3c..17d7343a0a9 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -1263,7 +1263,7 @@ NS_IMETHODIMP nsDocShell::Reload(PRInt32 aReloadType) nsDocShellInfoLoadType type = nsIDocShellLoadInfo::loadReloadNormal; if ( aReloadType == nsIWebNavigation::loadReloadBypassProxyAndCache ) type = nsIDocShellLoadInfo::loadReloadBypassProxyAndCache; - +#if 0 nsCOMPtr entry; if (OSHE) { /* We should fall here in most cases including subframes & refreshes */ @@ -1284,9 +1284,18 @@ NS_IMETHODIMP nsDocShell::Reload(PRInt32 aReloadType) nsnull, type); } +#else + // OK. Atleast for the heck of it, pollmann says that he doesn't crash + // in bug 45297 if he just did the following, instead of the one in #if 0. + // If this really keeps the crash from re-occuring, may be this can stay. However + // there is no major difference between this one and the one inside #if 0 + + return InternalLoad(mCurrentURI, mReferrerURI, nsnull, nsnull, + nsnull, type); +#endif /* 0 */ - return LoadHistoryEntry(entry, type); + // return LoadHistoryEntry(entry, type); #else