ooops, forgot this in my last checkin - part of bug 70929 sr=waterson

This commit is contained in:
alecf%netscape.com 2001-03-09 14:58:38 +00:00
parent 815a844b3c
commit 5f55e74b16

View File

@ -79,6 +79,7 @@
#include "nsIDOMHTMLImageElement.h"
#include "nsICmdLineService.h"
#include "nsIGlobalHistory.h"
#include "nsIBrowserHistory.h"
#include "nsIUrlbarHistory.h"
#include "nsIDOMXULDocument.h"
@ -1467,7 +1468,7 @@ NS_IMETHODIMP nsBrowserContentHandler::GetDefaultArgs(PRUnichar **aDefaultArgs)
break;
}
case 2: {
nsCOMPtr<nsIGlobalHistory> history(do_GetService(kCGlobalHistoryCID));
nsCOMPtr<nsIBrowserHistory> history(do_GetService(kCGlobalHistoryCID));
if (history) {
nsXPIDLCString curl;
rv = history->GetLastPageVisited(getter_Copies(curl));