bug 530093 - allow building with VC10. gfx changes. r=jdaggett
authorTed Mielczarek <ted.mielczarek@gmail.com>
Mon, 23 Nov 2009 10:20:21 -0500
changeset 35726 27937722da69ad0e8fd140a00671413068226a5b
parent 35725 ceef8a5c3ca1906d8f0a5bcb5469c8f451a8fc9b
child 35727 a732c6d3c078f80635255c78bfaadffa5828a8a5
child 36176 33bdf9d466ec5d9d30b71ca53c8fdfeacd96d1da
push id10692
push usertmielczarek@mozilla.com
push dateMon, 14 Dec 2009 12:33:56 +0000
treeherdermozilla-central@27937722da69 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdaggett
bugs530093
milestone1.9.3a1pre
bug 530093 - allow building with VC10. gfx changes. r=jdaggett
gfx/thebes/public/gfxWindowsFonts.h
--- a/gfx/thebes/public/gfxWindowsFonts.h
+++ b/gfx/thebes/public/gfxWindowsFonts.h
@@ -111,17 +111,17 @@ public:
 class FontEntry : public gfxFontEntry
 {
 public:
     FontEntry(const nsAString& aFaceName, gfxWindowsFontType aFontType,
               PRBool aItalic, PRUint16 aWeight, gfxUserFontData *aUserFontData) : 
         gfxFontEntry(aFaceName), mFontType(aFontType),
         mForceGDI(PR_FALSE), mUnknownCMAP(PR_FALSE),
         mUnicodeFont(PR_FALSE), mSymbolFont(PR_FALSE),
-        mCharset(0), mUnicodeRanges(0)
+        mCharset(), mUnicodeRanges()
     {
         mUserFontData = aUserFontData;
         mItalic = aItalic;
         mWeight = aWeight;
         if (IsType1())
             mForceGDI = PR_TRUE;
         mIsUserFont = aUserFontData != nsnull;
     }