mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Bug 637180 - Unused function IsFloatInteger; r=matt.woodrow
This commit is contained in:
parent
9f40b44a29
commit
3502d1e4ec
@ -205,10 +205,12 @@ nsRect& nsRect::ScaleRoundOut(float aXScale, float aYScale)
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
static bool IsFloatInteger(float aFloat)
|
static bool IsFloatInteger(float aFloat)
|
||||||
{
|
{
|
||||||
return fabs(aFloat - NS_round(aFloat)) < 1e-6;
|
return fabs(aFloat - NS_round(aFloat)) < 1e-6;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
nsRect& nsRect::ExtendForScaling(float aXMult, float aYMult)
|
nsRect& nsRect::ExtendForScaling(float aXMult, float aYMult)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user