From a29474a22ebb70a760712605ad738c6117661d22 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 23 Dec 2007 22:35:34 +0000 Subject: Xr 1.9 fixes. Bug #503657. svn path=/trunk/; revision=7807 --- embed/mozilla/MozDownload.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'embed/mozilla/MozDownload.cpp') diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index b5efe085a..254738f18 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -69,7 +69,10 @@ #include #include +#ifndef HAVE_GECKO_1_9 #include "EphyBadCertRejector.h" +#endif + #include "EphyUtils.h" #include "eel-gconf-extensions.h" @@ -505,6 +508,7 @@ MozDownload::OnSecurityChange (nsIWebProgress *aWebProgress, nsIRequest *aReques NS_IMETHODIMP MozDownload::GetInterface(const nsIID & uuid, void * *result) { +#ifndef HAVE_GECKO_1_9 if (uuid.Equals (NS_GET_IID (nsIBadCertListener)) && mEmbedPersist) { @@ -523,7 +527,7 @@ MozDownload::GetInterface(const nsIID & uuid, void * *result) return NS_OK; } } - +#endif return NS_ERROR_NO_INTERFACE; } -- cgit v1.2.3