mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 646180: Reorder nsPresContext init list to fix build warning. r=roc
This commit is contained in:
parent
8affc3ab15
commit
14e26f45d3
@ -188,8 +188,8 @@ static NS_DEFINE_CID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
|
||||
// bother initializing members to 0.
|
||||
|
||||
nsPresContext::nsPresContext(nsIDocument* aDocument, nsPresContextType aType)
|
||||
: mType(aType), mDocument(aDocument), mTextZoom(1.0), mFullZoom(1.0),
|
||||
mPageSize(-1, -1), mPPScale(1.0f), mMinFontSize(0),
|
||||
: mType(aType), mDocument(aDocument), mMinFontSize(0),
|
||||
mTextZoom(1.0), mFullZoom(1.0), mPageSize(-1, -1), mPPScale(1.0f),
|
||||
mViewportStyleOverflow(NS_STYLE_OVERFLOW_AUTO, NS_STYLE_OVERFLOW_AUTO),
|
||||
mImageAnimationModePref(imgIContainer::kNormalAnimMode),
|
||||
// Font sizes default to zero; they will be set in GetFontPreferences
|
||||
|
Loading…
Reference in New Issue
Block a user