Bug 987408 - Correct the default features space check pref name. r=mkato, a=1.4+
authorJohn Daggett <jdaggett@mozilla.com>
Wed, 26 Mar 2014 17:03:56 +0900
changeset 192137 d58b97f124bff62557a57f5b8f9218df57d4abb7
parent 192136 c763c8695fe47f682d62aa72d9d1ac639ff7ff48
child 192138 c2f1cc4116e41adcf5b9e82d00715fd9874e2f09
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkato, 1
bugs987408
milestone30.0a2
Bug 987408 - Correct the default features space check pref name. r=mkato, a=1.4+
gfx/thebes/gfxFT2FontList.cpp
--- a/gfx/thebes/gfxFT2FontList.cpp
+++ b/gfx/thebes/gfxFT2FontList.cpp
@@ -1353,18 +1353,19 @@ gfxFT2FontList::GetFontList(InfallibleTA
 {
     mFontFamilies.Enumerate(AddFamilyToFontList, retValue);
 }
 
 static void
 LoadSkipSpaceLookupCheck(nsTHashtable<nsStringHashKey>& aSkipSpaceLookupCheck)
 {
     nsAutoTArray<nsString, 5> skiplist;
-    gfxFontUtils::GetPrefsFontList("font.whitelist.skip_space_lookup_check",
-                                   skiplist);
+    gfxFontUtils::GetPrefsFontList(
+        "font.whitelist.skip_default_features_space_check",
+        skiplist);
     uint32_t numFonts = skiplist.Length();
     for (uint32_t i = 0; i < numFonts; i++) {
         ToLowerCase(skiplist[i]);
         aSkipSpaceLookupCheck.PutEntry(skiplist[i]);
     }
 }
 
 nsresult