зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
MozReview-Commit-ID: KQxFTrEO1aq --HG-- extra : rebase_source : 6b56cae60b7f82f3695d57d0e3f23bd59cc06756
This commit is contained in:
Родитель
df1f4e7328
Коммит
7d872b8023
|
@ -588,7 +588,7 @@ nsSHistory::GetEntryAtIndex(int32_t aIndex, bool aModifyIndex,
|
|||
}
|
||||
|
||||
/* Get the transaction at a given index */
|
||||
NS_IMETHODIMP
|
||||
nsresult
|
||||
nsSHistory::GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult)
|
||||
{
|
||||
nsresult rv;
|
||||
|
@ -1703,7 +1703,7 @@ nsSHistory::LoadNextPossibleEntry(int32_t aNewIndex, long aLoadType,
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsresult
|
||||
nsSHistory::LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd)
|
||||
{
|
||||
if (!mRootDocShell) {
|
||||
|
|
|
@ -83,15 +83,14 @@ private:
|
|||
friend class nsSHEnumerator;
|
||||
friend class nsSHistoryObserver;
|
||||
|
||||
// Could become part of nsIWebNavigation
|
||||
NS_IMETHOD GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult);
|
||||
nsresult 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);
|
||||
|
||||
NS_IMETHOD LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd);
|
||||
nsresult LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd);
|
||||
|
||||
#ifdef DEBUG
|
||||
nsresult PrintHistory();
|
||||
|
|
Загрузка…
Ссылка в новой задаче