зеркало из https://github.com/mozilla/pjs.git
b=161394 Fix crash in debug builds
r=javi sr=alecf
This commit is contained in:
Родитель
4353c8997d
Коммит
1b18e19429
|
@ -1149,11 +1149,13 @@ nsSecureBrowserUIImpl::OnSecurityChange(nsIWebProgress *aWebProgress,
|
|||
nsCOMPtr<nsIURI> aURI;
|
||||
channel->GetURI(getter_AddRefs(aURI));
|
||||
|
||||
nsCAutoString temp;
|
||||
aURI->GetSpec(temp);
|
||||
PR_LOG(gSecureDocLog, PR_LOG_DEBUG,
|
||||
("SecureUI:%p: OnSecurityChange: (%x) %s\n", this,
|
||||
state, temp.get()));
|
||||
if (aURI) {
|
||||
nsCAutoString temp;
|
||||
aURI->GetSpec(temp);
|
||||
PR_LOG(gSecureDocLog, PR_LOG_DEBUG,
|
||||
("SecureUI:%p: OnSecurityChange: (%x) %s\n", this,
|
||||
state, temp.get()));
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче