зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
807800abf3
Коммит
4922b186ba
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче