diff --git a/docshell/shistory/nsSHistory.cpp b/docshell/shistory/nsSHistory.cpp index d36a7582fdb4..d362173c9be1 100644 --- a/docshell/shistory/nsSHistory.cpp +++ b/docshell/shistory/nsSHistory.cpp @@ -588,7 +588,7 @@ nsSHistory::GetEntryAtIndex(int32_t aIndex, bool aModifyIndex, } /* Get the transaction at a given index */ -nsresult +NS_IMETHODIMP nsSHistory::GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult) { nsresult rv; @@ -1703,7 +1703,7 @@ nsSHistory::LoadNextPossibleEntry(int32_t aNewIndex, long aLoadType, return NS_ERROR_FAILURE; } -nsresult +NS_IMETHODIMP nsSHistory::LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd) { if (!mRootDocShell) { diff --git a/docshell/shistory/nsSHistory.h b/docshell/shistory/nsSHistory.h index a8933ad17763..2cee92d7bd15 100644 --- a/docshell/shistory/nsSHistory.h +++ b/docshell/shistory/nsSHistory.h @@ -83,14 +83,15 @@ private: friend class nsSHEnumerator; friend class nsSHistoryObserver; - nsresult GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult); + // Could become part of nsIWebNavigation + NS_IMETHOD GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult); nsresult LoadDifferingEntries(nsISHEntry* aPrevEntry, nsISHEntry* aNextEntry, nsIDocShell* aRootDocShell, long aLoadType, bool& aDifferenceFound); nsresult InitiateLoad(nsISHEntry* aFrameEntry, nsIDocShell* aFrameDS, long aLoadType); - nsresult LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd); + NS_IMETHOD LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd); #ifdef DEBUG nsresult PrintHistory();