зеркало из https://github.com/mozilla/pjs.git
Bug 13844, turned off non line based detectors.
This commit is contained in:
Родитель
f8be48c82a
Коммит
ec53f4ad8c
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче