style: Manually rename some variables.

lop is not an acceptable variable name for LengthPercentage.

Differential Revision: https://phabricator.services.mozilla.com/D15813
This commit is contained in:
Emilio Cobos Álvarez 2019-01-07 12:20:42 +01:00
parent daf1f02feb
commit 80651fde47
14 changed files with 92 additions and 92 deletions

View file

@ -985,10 +985,10 @@ impl FontSize {
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks,
) -> Result<FontSize, ParseError<'i>> {
if let Ok(lop) =
if let Ok(lp) =
input.try(|i| LengthPercentage::parse_non_negative_quirky(context, i, allow_quirks))
{
return Ok(FontSize::Length(lop));
return Ok(FontSize::Length(lp));
}
if let Ok(kw) = input.try(KeywordSize::parse) {