The layoutState is actually a nsILayoutHistoryState not just an nsISupports.

git-svn-id: svn://10.0.0.236/trunk@64970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net 2000-04-03 00:47:15 +00:00
parent 613ccde6ff
commit dac2734b78

View File

@ -49,6 +49,7 @@
// Interfaces Needed
#include "nsIGlobalHistory.h"
#include "nsIHTTPChannel.h"
#include "nsILayoutHistoryState.h"
// For reporting errors with the console service.
// These can go away if error reporting is propagated up past nsDocShell.
@ -2422,8 +2423,8 @@ NS_IMETHODIMP nsDocShell::AddToSessionHistory(nsIURI* aURI)
entry = do_CreateInstance(NS_SHENTRY_PROGID);
NS_ENSURE_TRUE(entry, NS_ERROR_FAILURE);
nsCOMPtr<nsIInputStream> inputStream;
nsCOMPtr<nsISupports> layoutState;
nsCOMPtr<nsIInputStream> inputStream; // XXX Need to get this from somewhere
nsCOMPtr<nsILayoutHistoryState> layoutState; // XXX Need to get this from somewhere
NS_ENSURE_SUCCESS(entry->Create(aURI, mTitle.GetUnicode(), nsnull,
inputStream, layoutState), NS_ERROR_FAILURE);