diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index c440490ef07..46db864ba81 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -1881,7 +1881,12 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec, rv = presShell->GoToAnchor(nsAutoString(ref)); return rv; } - else if (aType == nsURLReloadFromHistory) { +#ifdef NECKO + else if (PR_FALSE) // XXX Need to add support for nsURLReloadFromHistory equivalent +#else + else if (aType == nsURLReloadFromHistory) +#endif + { // Go to the top of the current document nsCOMPtr viewMgr; rv = presShell->GetViewManager(getter_AddRefs(viewMgr)); diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index c440490ef07..46db864ba81 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -1881,7 +1881,12 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec, rv = presShell->GoToAnchor(nsAutoString(ref)); return rv; } - else if (aType == nsURLReloadFromHistory) { +#ifdef NECKO + else if (PR_FALSE) // XXX Need to add support for nsURLReloadFromHistory equivalent +#else + else if (aType == nsURLReloadFromHistory) +#endif + { // Go to the top of the current document nsCOMPtr viewMgr; rv = presShell->GetViewManager(getter_AddRefs(viewMgr));