зеркало из https://github.com/mozilla/gecko-dev.git
sr=mscott. fixing extraneous QI. 66942
This commit is contained in:
Родитель
adcf7f185f
Коммит
939a2cb281
|
@ -170,14 +170,12 @@ NS_IMETHODIMP nsMsgWindow::SetStatusFeedback(nsIMsgStatusFeedback * aStatusFeedb
|
|||
GetMessageWindowDocShell(getter_AddRefs(messageWindowDocShell));
|
||||
|
||||
nsCOMPtr<nsIWebProgress> webProgress(do_GetInterface(messageWindowDocShell));
|
||||
nsCOMPtr<nsIWebProgressListener> webProgressListener(do_QueryInterface(mStatusFeedback));
|
||||
|
||||
mStatusFeedback = aStatusFeedback;
|
||||
mStatusFeedback = aStatusFeedback;
|
||||
|
||||
// register our status feedback object
|
||||
if (webProgress && mStatusFeedback && messageWindowDocShell)
|
||||
{
|
||||
webProgressListener = do_QueryInterface(mStatusFeedback);
|
||||
nsCOMPtr<nsIWebProgressListener> webProgressListener = do_QueryInterface(mStatusFeedback);
|
||||
webProgress->AddProgressListener(webProgressListener);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче