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); }