From ec53f4ad8ce07cc1e3a5fb1b84f9468743d8b9b3 Mon Sep 17 00:00:00 2001 From: "nhotta%netscape.com" Date: Wed, 15 Sep 1999 19:31:46 +0000 Subject: [PATCH] Bug 13844, turned off non line based detectors. --- intl/chardet/src/classic/nsClassicCharDetDll.cpp | 6 +++++- intl/chardet/src/windows/nsNativeCharDetDll.cpp | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/intl/chardet/src/classic/nsClassicCharDetDll.cpp b/intl/chardet/src/classic/nsClassicCharDetDll.cpp index 76f5758bf2b..4bbc57fff6a 100644 --- a/intl/chardet/src/classic/nsClassicCharDetDll.cpp +++ b/intl/chardet/src/classic/nsClassicCharDetDll.cpp @@ -55,13 +55,17 @@ extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* aServMgr, nsIFactory *factory = nsnull; if (aClass.Equals(kJAClassicDetectorCID)) { - factory = NEW_JA_CLASSICDETECTOR_FACTORY(); + ; + //bug#13844 disable this until find out the reason of the freeze + //factory = NEW_JA_CLASSICDETECTOR_FACTORY(); } else if (aClass.Equals(kJAClassicStringDetectorCID)) { factory = NEW_JA_STRING_CLASSICDETECTOR_FACTORY(); +#if 0 } else if (aClass.Equals(kKOClassicDetectorCID)) { factory = NEW_KO_CLASSICDETECTOR_FACTORY(); } else if (aClass.Equals(kKOClassicStringDetectorCID)) { factory = NEW_KO_STRING_CLASSICDETECTOR_FACTORY(); +#endif } if(nsnull != factory) { diff --git a/intl/chardet/src/windows/nsNativeCharDetDll.cpp b/intl/chardet/src/windows/nsNativeCharDetDll.cpp index 92a8acbb7c6..77bf48dd8bf 100644 --- a/intl/chardet/src/windows/nsNativeCharDetDll.cpp +++ b/intl/chardet/src/windows/nsNativeCharDetDll.cpp @@ -55,11 +55,13 @@ extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* aServMgr, nsIFactory *factory = nsnull; if (aClass.Equals(kJANativeDetectorCID)) { - factory = NEW_JA_NATIVEDETECTOR_FACTORY(); + ; + //bug#13844 disable this until find out the reason of the freeze + //factory = NEW_JA_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kJANativeStringDetectorCID)) { factory = NEW_JA_STRING_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kKONativeDetectorCID)) { - factory = NEW_KO_NATIVEDETECTOR_FACTORY(); + ;factory = NEW_KO_NATIVEDETECTOR_FACTORY(); } else if (aClass.Equals(kKONativeStringDetectorCID)) { factory = NEW_KO_STRING_NATIVEDETECTOR_FACTORY(); }