From 4fc7bf9895a80976c0dc0ddff2a142385bf4e394 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 19 Mar 1999 23:06:42 +0000 Subject: [PATCH] Eliminate some purify warnings git-svn-id: svn://10.0.0.236/trunk@24490 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLReflowState.cpp | 4 ++++ mozilla/layout/html/base/src/nsHTMLReflowState.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mozilla/layout/generic/nsHTMLReflowState.cpp b/mozilla/layout/generic/nsHTMLReflowState.cpp index 568cf6534a7..6a3caad06b6 100644 --- a/mozilla/layout/generic/nsHTMLReflowState.cpp +++ b/mozilla/layout/generic/nsHTMLReflowState.cpp @@ -50,6 +50,8 @@ nsHTMLReflowState::nsHTMLReflowState(nsIPresContext& aPresContext, availableWidth = aAvailableSpace.width; availableHeight = aAvailableSpace.height; rendContext = aRenderingContext; + spaceManager = nsnull; + lineLayout = nsnull; isTopOfPage = PR_FALSE; Init(aPresContext); } @@ -71,6 +73,8 @@ nsHTMLReflowState::nsHTMLReflowState(nsIPresContext& aPresContext, availableWidth = aAvailableSpace.width; availableHeight = aAvailableSpace.height; rendContext = aRenderingContext; + spaceManager = nsnull; + lineLayout = nsnull; isTopOfPage = PR_FALSE; Init(aPresContext); } diff --git a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp index 568cf6534a7..6a3caad06b6 100644 --- a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp +++ b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp @@ -50,6 +50,8 @@ nsHTMLReflowState::nsHTMLReflowState(nsIPresContext& aPresContext, availableWidth = aAvailableSpace.width; availableHeight = aAvailableSpace.height; rendContext = aRenderingContext; + spaceManager = nsnull; + lineLayout = nsnull; isTopOfPage = PR_FALSE; Init(aPresContext); } @@ -71,6 +73,8 @@ nsHTMLReflowState::nsHTMLReflowState(nsIPresContext& aPresContext, availableWidth = aAvailableSpace.width; availableHeight = aAvailableSpace.height; rendContext = aRenderingContext; + spaceManager = nsnull; + lineLayout = nsnull; isTopOfPage = PR_FALSE; Init(aPresContext); }