зеркало из https://github.com/mozilla/gecko-dev.git
Renamed the parameters to be *Child* instead of *Self* to be better in sync with the function name OnChildProgressChange().
This commit is contained in:
Родитель
37043e78db
Коммит
0b8ca33dce
|
@ -390,13 +390,13 @@ NS_IMETHODIMP nsDocShellTreeOwner::OnProgressChange(nsIChannel* aChannel,
|
|||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellTreeOwner::OnChildProgressChange(nsIChannel* aChannel,
|
||||
PRInt32 aCurSelfProgress, PRInt32 aMaxSelfProgress)
|
||||
PRInt32 aCurChildProgress, PRInt32 aMaxChildProgress)
|
||||
{
|
||||
if(!mOwnerProgressListener)
|
||||
return NS_OK;
|
||||
|
||||
return mOwnerProgressListener->OnChildProgressChange(aChannel,
|
||||
aCurSelfProgress, aMaxSelfProgress);
|
||||
aCurChildProgress, aMaxChildProgress);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsDocShellTreeOwner::OnStatusChange(nsIChannel* aChannel,
|
||||
|
|
Загрузка…
Ссылка в новой задаче