diff --git a/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp b/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp index 08ce7bf792d..35addaeb1a1 100644 --- a/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp +++ b/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp @@ -115,7 +115,7 @@ struct DCFromContext { gfxWindowsFont::gfxWindowsFont(const nsAString& aName, const gfxFontStyle *aFontStyle) : gfxFont(aName, aFontStyle), - mFont(nsnull), mAdjustedSize(0.0f), mScriptCache(nsnull), + mFont(nsnull), mAdjustedSize(0.0), mScriptCache(nsnull), mFontFace(nsnull), mScaledFont(nsnull), mMetrics(nsnull) { @@ -243,7 +243,7 @@ gfxWindowsFont::MakeHFONT() chosenWeight = baseWeight * 100; mAdjustedSize = GetStyle()->size; - if (mMetrics->xHeight != 0.0f && GetStyle()->sizeAdjust > 0.0f) { + if (mMetrics->xHeight != 0.0 && GetStyle()->sizeAdjust > 0.0) { if (!mFont) { FillLogFont(mAdjustedSize, chosenWeight); mFont = CreateFontIndirectW(&mLogFont);