From f57822ac598981c567d6b079eb9a2ab458dfe76a Mon Sep 17 00:00:00 2001 From: "karlt+%karlt.net" Date: Wed, 19 Dec 2007 21:55:35 +0000 Subject: [PATCH] changing floats to double to try to fix MozillaAliveTest. git-svn-id: svn://10.0.0.236/trunk@241791 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/thebes/src/gfxWindowsFonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);