Bug 652050: revert diagnostic 2 (remove temporary debugging printfs)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 22 Apr 2011 18:28:11 -0700
changeset 68576 384ce8196f5ad9464c8cb4d8a755e683755ae9c9
parent 68575 92d1f348696417900938a73855db2ecaa4fdf3f3
child 68577 3589bf459f859b1db21043322934199da6c2c535
push id99
push usereakhgari@mozilla.com
push dateTue, 24 May 2011 18:03:59 +0000
treeherdermozilla-aurora@26d6981b3d6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs652050
milestone6.0a1
Bug 652050: revert diagnostic 2 (remove temporary debugging printfs)
content/svg/content/src/nsSVGFeatures.cpp
--- 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;
 }