diff --git a/mozilla/layout/generic/nsTextFrame.cpp b/mozilla/layout/generic/nsTextFrame.cpp index 78b4e054268..959513d786a 100644 --- a/mozilla/layout/generic/nsTextFrame.cpp +++ b/mozilla/layout/generic/nsTextFrame.cpp @@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext, { nsCOMPtr selCon; nsCOMPtr shell; - PRBool displaySelection,canDarkenColor; + PRBool displaySelection,canDarkenColor=PR_FALSE; PRBool isPaginated; PRBool isSelected; PRInt16 selectionValue; @@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext, nsCOMPtr selCon; nsCOMPtr shell; PRBool displaySelection; - PRBool isPaginated,canDarkenColor; + PRBool isPaginated,canDarkenColor=PR_FALSE; PRBool isSelected; PRInt16 selectionValue; nsCOMPtr lb; @@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext, nsCOMPtr selCon; nsCOMPtr shell; - PRBool displaySelection,canDarkenColor; + PRBool displaySelection,canDarkenColor=PR_FALSE; PRBool isPaginated; PRBool isSelected; PRInt16 selectionValue; diff --git a/mozilla/layout/html/base/src/nsTextFrame.cpp b/mozilla/layout/html/base/src/nsTextFrame.cpp index 78b4e054268..959513d786a 100644 --- a/mozilla/layout/html/base/src/nsTextFrame.cpp +++ b/mozilla/layout/html/base/src/nsTextFrame.cpp @@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext, { nsCOMPtr selCon; nsCOMPtr shell; - PRBool displaySelection,canDarkenColor; + PRBool displaySelection,canDarkenColor=PR_FALSE; PRBool isPaginated; PRBool isSelected; PRInt16 selectionValue; @@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext, nsCOMPtr selCon; nsCOMPtr shell; PRBool displaySelection; - PRBool isPaginated,canDarkenColor; + PRBool isPaginated,canDarkenColor=PR_FALSE; PRBool isSelected; PRInt16 selectionValue; nsCOMPtr lb; @@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext, nsCOMPtr selCon; nsCOMPtr shell; - PRBool displaySelection,canDarkenColor; + PRBool displaySelection,canDarkenColor=PR_FALSE; PRBool isPaginated; PRBool isSelected; PRInt16 selectionValue;