Bug 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa
authorTatiana Meshkova <tanya.meshkova@gmail.com>
Wed, 24 Aug 2011 16:19:15 -0700
changeset 77241 35b086e11e0808729343c1c9b4237a94f2a1fba0
parent 77240 0ed0529fa6cfa556c8d2f444095bfe6f3084ce4d
child 77242 4ef3f576a4b922e8131d3b5ed099187d83f71f28
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersromaxa
bugs589982
milestone9.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 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa
gfx/thebes/gfxQtPlatform.cpp
--- a/gfx/thebes/gfxQtPlatform.cpp
+++ b/gfx/thebes/gfxQtPlatform.cpp
@@ -432,17 +432,17 @@ gfxQtPlatform::GetStandardFamilyName(con
 gfxFontGroup *
 gfxQtPlatform::CreateFontGroup(const nsAString &aFamilies,
                                const gfxFontStyle *aStyle,
                                gfxUserFontSet* aUserFontSet)
 {
 #ifdef MOZ_PANGO
     return new gfxPangoFontGroup(aFamilies, aStyle, aUserFontSet);
 #else
-    return new gfxFT2FontGroup(aFamilies, aStyle);
+    return new gfxFT2FontGroup(aFamilies, aStyle, aUserFontSet);
 #endif
 }
 
 #ifdef MOZ_PANGO
 gfxFontEntry*
 gfxQtPlatform::LookupLocalFont(const gfxProxyFontEntry *aProxyEntry,
                                 const nsAString& aFontName)
 {