Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
This commit is contained in:
@@ -714,7 +714,7 @@ nsMenuFrame::IsSizedToPopup(nsIContent* aContent, PRBool aRequireAlways)
|
||||
nsAutoString sizedToPopup;
|
||||
aContent->GetAttr(kNameSpaceID_None, nsGkAtoms::sizetopopup, sizedToPopup);
|
||||
sizeToPopup = sizedToPopup.EqualsLiteral("always") ||
|
||||
!aRequireAlways && sizedToPopup.EqualsLiteral("pref");
|
||||
(!aRequireAlways && sizedToPopup.EqualsLiteral("pref"));
|
||||
}
|
||||
|
||||
return sizeToPopup;
|
||||
|
||||
Reference in New Issue
Block a user