mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
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:
parent
b0890f526a
commit
22ee3b126d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user