diff --git a/mozilla/layout/generic/nsAreaFrame.cpp b/mozilla/layout/generic/nsAreaFrame.cpp index 33f58082d96..f0e22d508ad 100644 --- a/mozilla/layout/generic/nsAreaFrame.cpp +++ b/mozilla/layout/generic/nsAreaFrame.cpp @@ -361,7 +361,7 @@ nsAreaFrame::IncrementalReflow(nsIPresContext& aPresContext, { nsIReflowCommand::ReflowType type; nsIFrame* newFrames; - PRInt32 numFrames; + PRInt32 numFrames = 0; // Get the type of reflow command aReflowState.reflowCommand->GetType(type); diff --git a/mozilla/layout/html/base/src/nsAreaFrame.cpp b/mozilla/layout/html/base/src/nsAreaFrame.cpp index 33f58082d96..f0e22d508ad 100644 --- a/mozilla/layout/html/base/src/nsAreaFrame.cpp +++ b/mozilla/layout/html/base/src/nsAreaFrame.cpp @@ -361,7 +361,7 @@ nsAreaFrame::IncrementalReflow(nsIPresContext& aPresContext, { nsIReflowCommand::ReflowType type; nsIFrame* newFrames; - PRInt32 numFrames; + PRInt32 numFrames = 0; // Get the type of reflow command aReflowState.reflowCommand->GetType(type);