bug 528184 missing null check, patch by romaxa, r=kaie, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@259566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -384,8 +384,9 @@ nsNSSSocketInfo::EnsureDocShellDependentStuffKnown()
|
||||
docshell.get(),
|
||||
NS_PROXY_SYNC,
|
||||
getter_AddRefs(proxiedDocShell));
|
||||
nsISecureBrowserUI* secureUI;
|
||||
proxiedDocShell->GetSecurityUI(&secureUI);
|
||||
nsISecureBrowserUI* secureUI = nsnull;
|
||||
if (proxiedDocShell)
|
||||
proxiedDocShell->GetSecurityUI(&secureUI);
|
||||
if (secureUI)
|
||||
{
|
||||
nsCOMPtr<nsIThread> mainThread(do_GetMainThread());
|
||||
|
||||
Reference in New Issue
Block a user