Bug 523755: Remove two unneeded nsCSSValue variable declarations in nsCSSDeclaration. r=dbaron

This commit is contained in:
Daniel Holbert 2009-10-22 15:13:10 -07:00
parent f7987a3da3
commit d4b0bddad3

View File

@ -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;
}