зеркало из https://github.com/mozilla/gecko-dev.git
Removed temporary QI to nsIContentViewerContainer as nsISupports is what is needed on the parameter anyway. r=pavlov
This commit is contained in:
Родитель
1fd50f82ff
Коммит
2611ac719c
|
@ -452,13 +452,11 @@ nsDocLoaderImpl::CreateContentViewer(const char *aCommand,
|
|||
return rv;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIContentViewerContainer> container(do_QueryInterface(aContainer));
|
||||
|
||||
// Now create an instance of the content viewer
|
||||
rv = factory->CreateInstance(aCommand,
|
||||
channel, mLoadGroup,
|
||||
aContentType,
|
||||
container,
|
||||
aContainer,
|
||||
aExtraInfo, aDocListenerResult,
|
||||
aDocViewerResult);
|
||||
NS_RELEASE(factory);
|
||||
|
|
|
@ -452,13 +452,11 @@ nsDocLoaderImpl::CreateContentViewer(const char *aCommand,
|
|||
return rv;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIContentViewerContainer> container(do_QueryInterface(aContainer));
|
||||
|
||||
// Now create an instance of the content viewer
|
||||
rv = factory->CreateInstance(aCommand,
|
||||
channel, mLoadGroup,
|
||||
aContentType,
|
||||
container,
|
||||
aContainer,
|
||||
aExtraInfo, aDocListenerResult,
|
||||
aDocViewerResult);
|
||||
NS_RELEASE(factory);
|
||||
|
|
Загрузка…
Ссылка в новой задаче