Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -225,7 +225,7 @@ nsGfxButtonControlFrame::DoNavQuirksReflow(nsIPresContext* aPresContext
|
||||
if (!textStyle->WhiteSpaceIsSignificant()) {
|
||||
value.CompressWhitespace();
|
||||
if (value.Length() == 0) {
|
||||
value.AssignWithConversion(" ");
|
||||
value.Assign(NS_LITERAL_STRING(" "));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ nsGfxButtonControlFrame::CreateAnonymousContent(nsIPresContext* aPresContext,
|
||||
if (!textStyle->WhiteSpaceIsSignificant()) {
|
||||
value.CompressWhitespace();
|
||||
if (value.Length() == 0) {
|
||||
value.AssignWithConversion(" ");
|
||||
value.Assign(NS_LITERAL_STRING(" "));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user