summaryrefslogtreecommitdiffstats
path: root/netwerk/dns/nsIDNService.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/dns/nsIDNService.h')
-rw-r--r--netwerk/dns/nsIDNService.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/netwerk/dns/nsIDNService.h b/netwerk/dns/nsIDNService.h
index 19aa94da0..82a05021d 100644
--- a/netwerk/dns/nsIDNService.h
+++ b/netwerk/dns/nsIDNService.h
@@ -12,12 +12,7 @@
#include "nsUnicodeScriptCodes.h"
#include "nsWeakReference.h"
-#ifdef IDNA2008
#include "unicode/uidna.h"
-#else
-#include "nsIUnicodeNormalizer.h"
-#include "nsIDNKitInterface.h"
-#endif
#include "nsString.h"
@@ -151,7 +146,6 @@ private:
bool illegalScriptCombo(mozilla::unicode::Script script,
int32_t& savedScript);
-#ifdef IDNA2008
/**
* Convert a DNS label from ASCII to Unicode using IDNA2008
*/
@@ -164,10 +158,6 @@ private:
stringPrepFlag flag);
UIDNA* mIDNA;
-#else
- idn_nameprep_t mNamePrepHandle;
- nsCOMPtr<nsIUnicodeNormalizer> mNormalizer;
-#endif
nsXPIDLString mIDNBlacklist;
/**