fix compiler warning regarding initialization of gfxFont b=454735 r=roc
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 16 Sep 2008 16:38:20 +1200
changeset 19288 b3ac8c986c848f5619b57d1a68b6aa16f2663f20
parent 19287 f51aad9e6a88703c2d22f8fd525ecea06c96ab34
child 19289 1aecd2a9914d9fbcf4b5a24d2f4230b2e602c102
push id2094
push userktomlinson@mozilla.com
push dateTue, 16 Sep 2008 04:38:51 +0000
treeherdermozilla-central@b3ac8c986c84 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs454735
milestone1.9.1b1pre
fix compiler warning regarding initialization of gfxFont b=454735 r=roc
gfx/thebes/src/gfxFont.cpp
--- a/gfx/thebes/src/gfxFont.cpp
+++ b/gfx/thebes/src/gfxFont.cpp
@@ -257,17 +257,17 @@ gfxFont::RunMetrics::CombineWith(const R
     } else {
         mBoundingBox =
             mBoundingBox.Union(aOther.mBoundingBox + gfxPoint(mAdvanceWidth, 0));
     }
     mAdvanceWidth += aOther.mAdvanceWidth;
 }
 
 gfxFont::gfxFont(gfxFontEntry *aFontEntry, const gfxFontStyle *aFontStyle) :
-    mIsValid(PR_TRUE), mStyle(*aFontStyle), mFontEntry(aFontEntry), mSyntheticBoldOffset(0)
+    mFontEntry(aFontEntry), mIsValid(PR_TRUE), mStyle(*aFontStyle), mSyntheticBoldOffset(0)
 {
 #ifdef DEBUG_TEXT_RUN_STORAGE_METRICS
     ++gFontCount;
 #endif
 }
 
 gfxFont::~gfxFont()
 {