mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 13:02:57 +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 "nsIDOMHTMLImageElement.h"
|
||||||
#include "nsICmdLineService.h"
|
#include "nsICmdLineService.h"
|
||||||
#include "nsIGlobalHistory.h"
|
#include "nsIGlobalHistory.h"
|
||||||
|
#include "nsIBrowserHistory.h"
|
||||||
#include "nsIUrlbarHistory.h"
|
#include "nsIUrlbarHistory.h"
|
||||||
|
|
||||||
#include "nsIDOMXULDocument.h"
|
#include "nsIDOMXULDocument.h"
|
||||||
@ -1467,7 +1468,7 @@ NS_IMETHODIMP nsBrowserContentHandler::GetDefaultArgs(PRUnichar **aDefaultArgs)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 2: {
|
case 2: {
|
||||||
nsCOMPtr<nsIGlobalHistory> history(do_GetService(kCGlobalHistoryCID));
|
nsCOMPtr<nsIBrowserHistory> history(do_GetService(kCGlobalHistoryCID));
|
||||||
if (history) {
|
if (history) {
|
||||||
nsXPIDLCString curl;
|
nsXPIDLCString curl;
|
||||||
rv = history->GetLastPageVisited(getter_Copies(curl));
|
rv = history->GetLastPageVisited(getter_Copies(curl));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user