mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 12:03:08 +00:00
ooops, forgot this in my last checkin - part of bug 70929 sr=waterson
This commit is contained in:
parent
815a844b3c
commit
5f55e74b16
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user