mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Fix for 2107.
This commit is contained in:
parent
54b6e83cce
commit
f69b15285e
@ -424,7 +424,7 @@ void FE_SetRefreshURLTimer(MWContext *pContext, URL_Struct *URL_s)
|
||||
nsISupports* container;
|
||||
|
||||
rv = pConn->pURL->GetContainer(&container);
|
||||
if (rv == NS_OK) {
|
||||
if (container && (rv == NS_OK)) {
|
||||
rv = container->QueryInterface(kRefreshURLIID, (void**)&IRefreshURL);
|
||||
if(NS_SUCCEEDED(rv)) {
|
||||
nsIURL* newURL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user