зеркало из 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;
|
nsCOMPtr<nsIURI> aURI;
|
||||||
channel->GetURI(getter_AddRefs(aURI));
|
channel->GetURI(getter_AddRefs(aURI));
|
||||||
|
|
||||||
|
if (aURI) {
|
||||||
nsCAutoString temp;
|
nsCAutoString temp;
|
||||||
aURI->GetSpec(temp);
|
aURI->GetSpec(temp);
|
||||||
PR_LOG(gSecureDocLog, PR_LOG_DEBUG,
|
PR_LOG(gSecureDocLog, PR_LOG_DEBUG,
|
||||||
("SecureUI:%p: OnSecurityChange: (%x) %s\n", this,
|
("SecureUI:%p: OnSecurityChange: (%x) %s\n", this,
|
||||||
state, temp.get()));
|
state, temp.get()));
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче