зеркало из https://github.com/mozilla/gecko-dev.git
Fix for scc to work around an apparent egcs bug
This commit is contained in:
Родитель
14ee777ce1
Коммит
37f729f1dc
|
@ -262,7 +262,7 @@ nsDocFactoryImpl::QueryInterface( REFNSIID aIID, void** aInstancePtr )
|
|||
*result = NS_STATIC_CAST(nsIDocumentLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsIDocStreamLoaderFactory::GetIID()) )
|
||||
*result = NS_STATIC_CAST(nsIDocStreamLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsISupports::GetIID()) )
|
||||
else if ( aIID.Equals(kISupportsIID) )
|
||||
*result = NS_STATIC_CAST(nsISupports*, NS_STATIC_CAST(nsIDocumentLoaderFactory*, this));
|
||||
else
|
||||
*result = 0;
|
||||
|
|
|
@ -262,7 +262,7 @@ nsDocFactoryImpl::QueryInterface( REFNSIID aIID, void** aInstancePtr )
|
|||
*result = NS_STATIC_CAST(nsIDocumentLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsIDocStreamLoaderFactory::GetIID()) )
|
||||
*result = NS_STATIC_CAST(nsIDocStreamLoaderFactory*, this);
|
||||
else if ( aIID.Equals(nsISupports::GetIID()) )
|
||||
else if ( aIID.Equals(kISupportsIID) )
|
||||
*result = NS_STATIC_CAST(nsISupports*, NS_STATIC_CAST(nsIDocumentLoaderFactory*, this));
|
||||
else
|
||||
*result = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче