Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger

This commit is contained in:
Jeff Walden
2013-03-05 15:43:44 -08:00
parent bd1ae2a684
commit dc6bf5f361
11 changed files with 25 additions and 49 deletions

View File

@@ -358,7 +358,7 @@ PRMJ_Now(void)
itself, but I have only seen it triggered by another program
doing some kind of file I/O. The symptoms are a negative diff
followed by an equally large positive diff. */
if (mozilla::DeprecatedAbs(diff) > 2 * skewThreshold) {
if (mozilla::Abs(diff) > 2 * skewThreshold) {
/*fprintf(stderr,"Clock skew detected (diff = %f)!\n", diff);*/
if (calibrated) {