зеркало из https://github.com/mozilla/gecko-dev.git
I crashed here, now I can reproduce it. add some bulletproofing and an assertion so I can catch it
next time. no bug. sr=bienvenu
This commit is contained in:
Родитель
e938b93033
Коммит
4d8bebfe1c
|
@ -820,7 +820,8 @@ nsPop3Protocol::Error(PRInt32 err_code)
|
|||
nsCOMPtr<nsIMsgWindow> msgWindow;
|
||||
nsCOMPtr<nsIPrompt> dialog;
|
||||
rv = mailnewsUrl->GetMsgWindow(getter_AddRefs(msgWindow));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv) && msgWindow, "no msg window");
|
||||
if (NS_SUCCEEDED(rv) && msgWindow)
|
||||
{
|
||||
rv = msgWindow->GetPromptDialog(getter_AddRefs(dialog));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
|
|
Загрузка…
Ссылка в новой задаче