diff --git a/content/base/public/nsContentUtils.h b/content/base/public/nsContentUtils.h index 17f2aaafd187..ce000ee150d7 100644 --- a/content/base/public/nsContentUtils.h +++ b/content/base/public/nsContentUtils.h @@ -1410,16 +1410,9 @@ public: * https://bugzilla.mozilla.org/show_bug.cgi?id=369418#c63 . To play it safe * for gecko 1.9, we just reuse JSDOUBLE_IS_FINITE. */ -#if 0 -// stop this from causing mochitests to fail inline NS_HIDDEN_(PRBool) NS_FloatIsFinite(jsdouble f) { return JSDOUBLE_IS_FINITE(f); } -#else -inline NS_HIDDEN_(PRBool) NS_FloatIsFinite(float f) { - return PR_TRUE; -} -#endif /* * In the following helper macros we exploit the fact that the result of a