From 349f5245b9fd4214e5d24a66e2c5b42ecb846433 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Wed, 2 Jan 2013 10:52:19 -0800 Subject: [PATCH] Bug 558306 followup: Remove one straggling instance of stale comment about (no longer used) PR_USEC_PER_MSEC and PRTime. (comment-only, DONTBUILD) --- dom/base/nsGlobalWindow.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index d76a0f42dc8d..01217a61a8d9 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -9827,12 +9827,6 @@ nsGlobalWindow::RescheduleTimeout(nsTimeout* aTimeout, const TimeStamp& now, // Reschedule the OS timer. Don't bother returning any error codes if // this fails since the callers of this method don't care about them. - - // Make sure to cast the unsigned PR_USEC_PER_MSEC to signed - // PRTime to make the division do the right thing on 64-bit - // platforms whether delay is positive or negative (which we - // know is always positive here, but cast anyways for - // consistency). nsresult rv = aTimeout->InitTimer(TimerCallback, delay.ToMilliseconds()); if (NS_FAILED(rv)) {