diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp index a34f55132fd..57fcfb1d2a5 100644 --- a/layout/base/nsPresContext.cpp +++ b/layout/base/nsPresContext.cpp @@ -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