Fix Necko build bustage.

git-svn-id: svn://10.0.0.236/trunk@38765 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-07-08 02:09:50 +00:00
parent be23e98e07
commit 1cf4247ddc
2 changed files with 12 additions and 2 deletions

View File

@@ -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<nsIViewManager> viewMgr;
rv = presShell->GetViewManager(getter_AddRefs(viewMgr));