Bug 652050: revert diagnostic 2 (remove temporary debugging printfs)
--- a/content/svg/content/src/nsSVGFeatures.cpp
+++ b/content/svg/content/src/nsSVGFeatures.cpp
@@ -218,25 +218,18 @@ nsSVGFeatures::PassesConditionalProcessi
if (aContent->GetAttr(kNameSpaceID_None, nsGkAtoms::systemLanguage,
value)) {
const nsAutoString acceptLangs(aAcceptLangs ? *aAcceptLangs :
nsContentUtils::GetLocalizedStringPref("intl.accept_languages"));
// Get our language preferences
if (!acceptLangs.IsEmpty()) {
- // XXXdholbert Temporary diagnostic to verify a theory in Bug 652050
-#ifdef ANDROID
- printf_stderr("Bug 652050 diagnostic: intl.accept_languages is nonempty.\n");
-#endif
return MatchesLanguagePreferences(value, acceptLangs);
} else {
// For now, evaluate to true.
-#ifdef ANDROID
- printf_stderr("Bug 652050 diagnostic: intl.accept_languages is EMPTY!\n");
-#endif
NS_WARNING("no default language specified for systemLanguage conditional test");
return !value.IsEmpty();
}
}
return PR_TRUE;
}