diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index d4b3fb2e4859..e3929d98788d 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -2014,7 +2014,7 @@ nsresult nsTextFrame::GetTextInfoForPainting(nsIPresContext* aPresConte PRInt16 textSel=0; (*aSelectionController)->GetSelectionFlags(&textSel); if (!(textSel & nsISelectionDisplay::DISPLAY_TEXT)) - aDisplayingSelection = false; + aDisplayingSelection = PR_FALSE; // Transform text from content into renderable form // XXX If the text fragment is already Unicode and text text wasn't diff --git a/layout/html/base/src/nsTextFrame.cpp b/layout/html/base/src/nsTextFrame.cpp index d4b3fb2e4859..e3929d98788d 100644 --- a/layout/html/base/src/nsTextFrame.cpp +++ b/layout/html/base/src/nsTextFrame.cpp @@ -2014,7 +2014,7 @@ nsresult nsTextFrame::GetTextInfoForPainting(nsIPresContext* aPresConte PRInt16 textSel=0; (*aSelectionController)->GetSelectionFlags(&textSel); if (!(textSel & nsISelectionDisplay::DISPLAY_TEXT)) - aDisplayingSelection = false; + aDisplayingSelection = PR_FALSE; // Transform text from content into renderable form // XXX If the text fragment is already Unicode and text text wasn't