Fix for 2107.
git-svn-id: svn://10.0.0.236/trunk@18590 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user