diff options
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index 722ea8672..3ba938254 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -73,7 +73,9 @@ #include "ephy-gui.h" #include "ephy-prefs.h" +#ifndef HAVE_GECKO_1_9 #include "EphyBadCertRejector.h" +#endif #include "MozDownload.h" #include "EphyHeaderSniffer.h" @@ -223,6 +225,7 @@ EphyHeaderSniffer::OnSecurityChange (nsIWebProgress *aWebProgress, nsIRequest *a NS_IMETHODIMP EphyHeaderSniffer::GetInterface(const nsIID & uuid, void * *result) { +#ifndef HAVE_GECKO_1_9 if (uuid.Equals (NS_GET_IID (nsIBadCertListener)) && mEmbedPersist) { @@ -241,6 +244,7 @@ EphyHeaderSniffer::GetInterface(const nsIID & uuid, void * *result) return NS_OK; } } +#endif return NS_ERROR_NO_INTERFACE; } |