Compile the new method only if we are on 1.9
This commit is contained in:
parent
6267b79811
commit
ac23b66059
@ -148,6 +148,8 @@ GeckoDownload::OnSecurityChange (nsIWebProgress *aWebProgress,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MOZILLA_1_9
|
||||
|
||||
NS_IMETHODIMP
|
||||
GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress,
|
||||
nsIURI *aRefreshURI,
|
||||
@ -157,6 +159,9 @@ GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress,
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//*****************************************************************************
|
||||
// GeckoDownloadFactory
|
||||
//*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user