From 5163c2d02a0c8f776e0b3e21046c6bc7b1be3373 Mon Sep 17 00:00:00 2001 From: Jeff Gilbert Date: Mon, 11 Jul 2011 12:24:21 -0700 Subject: [PATCH] Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe --- gfx/src/nsRect.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gfx/src/nsRect.cpp b/gfx/src/nsRect.cpp index 1c89cb3d1165..4fa72cde86d8 100644 --- a/gfx/src/nsRect.cpp +++ b/gfx/src/nsRect.cpp @@ -47,13 +47,6 @@ PR_STATIC_ASSERT((NS_SIDE_TOP == 0) && (NS_SIDE_RIGHT == 1) && (NS_SIDE_BOTTOM = /* static */ const nsIntRect nsIntRect::kMaxSizedIntRect(0, 0, INT_MAX, INT_MAX); -#ifdef DEBUG -static bool IsFloatInteger(float aFloat) -{ - return fabs(aFloat - NS_round(aFloat)) < 1e-6; -} -#endif - #ifdef DEBUG // Diagnostics