Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 14 Aug 2011 10:39:56 -0700
changeset 75285 9bcd224e78566cbf782c732322a4ff0b60c8379e
parent 75284 adfa031a01291f5f51d678c93fb546d058851856
child 75286 c5550a4ff624136d7f765fe8875571eb7472fc8a
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersjfkthame
bugs678768
milestone8.0a1
Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame
layout/inspector/src/nsFontFace.cpp
--- a/layout/inspector/src/nsFontFace.cpp
+++ b/layout/inspector/src/nsFontFace.cpp
@@ -41,18 +41,18 @@
 #include "nsCSSRules.h"
 #include "gfxUserFontSet.h"
 #include "zlib.h"
 
 nsFontFace::nsFontFace(gfxFontEntry*      aFontEntry,
                        PRUint8            aMatchType,
                        nsCSSFontFaceRule* aRule)
   : mFontEntry(aFontEntry),
-    mMatchType(aMatchType),
-    mRule(aRule)
+    mRule(aRule),
+    mMatchType(aMatchType)
 {
 }
 
 nsFontFace::~nsFontFace()
 {
 }
 
 ////////////////////////////////////////////////////////////////////////