mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi
This commit is contained in:
parent
42e6cdab5e
commit
60016580a6
@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext,
|
||||
{
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection,canDarkenColor;
|
||||
PRBool displaySelection,canDarkenColor=PR_FALSE;
|
||||
PRBool isPaginated;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext,
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection;
|
||||
PRBool isPaginated,canDarkenColor;
|
||||
PRBool isPaginated,canDarkenColor=PR_FALSE;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
nsCOMPtr<nsILineBreaker> lb;
|
||||
@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext,
|
||||
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection,canDarkenColor;
|
||||
PRBool displaySelection,canDarkenColor=PR_FALSE;
|
||||
PRBool isPaginated;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
|
@ -2207,7 +2207,7 @@ nsTextFrame::PaintUnicodeText(nsIPresContext* aPresContext,
|
||||
{
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection,canDarkenColor;
|
||||
PRBool displaySelection,canDarkenColor=PR_FALSE;
|
||||
PRBool isPaginated;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
@ -2891,7 +2891,7 @@ nsTextFrame::PaintTextSlowly(nsIPresContext* aPresContext,
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection;
|
||||
PRBool isPaginated,canDarkenColor;
|
||||
PRBool isPaginated,canDarkenColor=PR_FALSE;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
nsCOMPtr<nsILineBreaker> lb;
|
||||
@ -3067,7 +3067,7 @@ nsTextFrame::PaintAsciiText(nsIPresContext* aPresContext,
|
||||
|
||||
nsCOMPtr<nsISelectionController> selCon;
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
PRBool displaySelection,canDarkenColor;
|
||||
PRBool displaySelection,canDarkenColor=PR_FALSE;
|
||||
PRBool isPaginated;
|
||||
PRBool isSelected;
|
||||
PRInt16 selectionValue;
|
||||
|
Loading…
Reference in New Issue
Block a user