зеркало из https://github.com/mozilla/pjs.git
Added NS_NewMsgMailSession.
This commit is contained in:
Родитель
bc6376fccc
Коммит
f5ee577f06
|
@ -213,14 +213,7 @@ nsMsgFactory::CreateInstance(nsISupports * /* aOuter */,
|
|||
}
|
||||
else if (mClassID.Equals(kCMsgMailSessionCID))
|
||||
{
|
||||
nsMsgMailSession * session = new nsMsgMailSession();
|
||||
if (session == nsnull)
|
||||
rv = NS_ERROR_OUT_OF_MEMORY;
|
||||
else {
|
||||
rv = session->QueryInterface(aIID, aResult);
|
||||
if (NS_FAILED(rv))
|
||||
delete session;
|
||||
}
|
||||
rv = NS_NewMsgMailSession(aIID, aResult);
|
||||
}
|
||||
else if (mClassID.Equals(kCMessengerCID))
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче