Bug 812203 - Ensure we don't try to set security callbacks on missing connections. r=mayhemer

This commit is contained in:
Josh Matthews 2012-11-17 13:27:01 +00:00
parent 81fbf53a81
commit bc221e9e62

View File

@ -202,7 +202,8 @@ public:
{ return fwdObject ? (fwdObject)->BytesWritten() : 0; } \
void SetSecurityCallbacks(nsIInterfaceRequestor* aCallbacks) \
{ \
(fwdObject)->SetSecurityCallbacks(aCallbacks); \
if (fwdObject) \
(fwdObject)->SetSecurityCallbacks(aCallbacks); \
}
#endif // nsAHttpConnection_h__