Bug 90065 - nsAppShellService::GetNativeAppSupport returns NS_OK even when it fails, causing crash. r=valeski/sr=blake
git-svn-id: svn://10.0.0.236/trunk@99127 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -933,5 +933,5 @@ nsAppShellService::GetNativeAppSupport( nsINativeAppSupport **aResult ) {
|
||||
NS_ENSURE_ARG( aResult );
|
||||
*aResult = mNativeAppSupport;
|
||||
NS_IF_ADDREF( *aResult );
|
||||
return NS_OK;
|
||||
return *aResult ? NS_OK : NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user