Bug 1288762 - Fix gfxFontconfigFontBase constructor. r=me
authorLee Salzman <lsalzman@mozilla.com>
Fri, 22 Jul 2016 14:11:59 -0400
changeset 346439 0d398365c9153bd879498c8ac2151d31b85a61a4
parent 346438 850f1a2a24cf94f6f959a8632e0d795b6f64bef3
child 346440 541edb687906d26514d422f11e679f7e9b247d99
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1288762
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1288762 - Fix gfxFontconfigFontBase constructor. r=me
gfx/thebes/gfxFontconfigUtils.cpp
--- a/gfx/thebes/gfxFontconfigUtils.cpp
+++ b/gfx/thebes/gfxFontconfigUtils.cpp
@@ -1082,18 +1082,19 @@ gfxFontconfigUtils::ActivateBundledFonts
             return;
         }
     }
     if (!mBundledFontsPath.IsEmpty()) {
         FcConfigAppFontAddDir(nullptr, (const FcChar8*)mBundledFontsPath.get());
     }
 }
 
+#endif
+
 gfxFontconfigFontBase::gfxFontconfigFontBase(cairo_scaled_font_t *aScaledFont,
                                              FcPattern *aPattern,
                                              gfxFontEntry *aFontEntry,
                                              const gfxFontStyle *aFontStyle)
     : gfxFT2FontBase(aScaledFont, aFontEntry, aFontStyle)
     , mPattern(aPattern)
 {
 }
 
-#endif