Compile the new method only if we are on 1.9

This commit is contained in:
Marco Pesenti Gritti 2007-02-12 23:47:03 +01:00
parent 6267b79811
commit ac23b66059

View File

@ -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
//*****************************************************************************