mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Bug 523755: Remove two unneeded nsCSSValue variable declarations in nsCSSDeclaration. r=dbaron
This commit is contained in:
parent
f7987a3da3
commit
d4b0bddad3
@ -972,8 +972,8 @@ nsCSSDeclaration::GetValue(nsCSSProperty aProperty,
|
||||
// The font-stretch and font-size-adjust
|
||||
// properties are reset by this shorthand property to their
|
||||
// initial values, but can't be represented in its syntax.
|
||||
if (stretch != nsCSSValue(eCSSUnit_Normal) ||
|
||||
sizeAdjust != nsCSSValue(eCSSUnit_None)) {
|
||||
if (stretch.GetUnit() != eCSSUnit_Normal ||
|
||||
sizeAdjust.GetUnit() != eCSSUnit_None) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user