Bug 742581: Make definition of nsStyleCoord::GetCoordValue() consistent with the declaration, regarding what the function's return type is. r=dbaron

This commit is contained in:
Daniel Holbert 2012-04-06 17:01:32 -07:00
parent b0890f526a
commit 22ee3b126d

View File

@ -287,7 +287,7 @@ inline bool nsStyleCoord::operator!=(const nsStyleCoord& aOther) const
return !((*this) == aOther);
}
inline PRInt32 nsStyleCoord::GetCoordValue() const
inline nscoord nsStyleCoord::GetCoordValue() const
{
NS_ASSERTION((mUnit == eStyleUnit_Coord), "not a coord value");
if (mUnit == eStyleUnit_Coord) {