Commit 02491b26 authored by John Daggett's avatar John Daggett
Browse files

Bug 705594. Fix build bustage on gtx/qt.

parent 4338eff3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@

using namespace mozilla;
using namespace mozilla::gfx;
using namespace mozilla::unicode;

gfxFontconfigUtils *gfxPlatformGtk::sFontconfigUtils = nsnull;

@@ -684,7 +685,7 @@ gfxPlatformGtk::FindFontForChar(PRUint32 aCh, gfxFont *aFont)
        return nsnull;
    }

    GlobalFontMatch data(aCh, gfxUnicodeProperties::GetScriptCode(aCh),
    GlobalFontMatch data(aCh, GetScriptCode(aCh),
                         (aFont ? aFont->GetStyle() : nsnull));

    // find fonts that support the character
+3 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@

#include "gfxImageSurface.h"
#include "gfxQPainterSurface.h"
#include "gfxUnicodeProperties.h"
#include "nsUnicodeProperties.h"

#ifdef MOZ_PANGO
#include "gfxPangoFonts.h"
@@ -80,6 +80,7 @@
#include "mozilla/Preferences.h"

using namespace mozilla;
using namespace mozilla::unicode;

#define DEFAULT_RENDER_MODE RENDER_DIRECT

@@ -543,7 +544,7 @@ gfxQtPlatform::FindFontForChar(PRUint32 aCh, gfxFont *aFont)
        return nsnull;
    }

    GlobalFontMatch data(aCh, gfxUnicodeProperties::GetScriptCode(aCh),
    GlobalFontMatch data(aCh, GetScriptCode(aCh),
                         (aFont ? aFont->GetStyle() : nsnull));

    // find fonts that support the character