From 1064619116592376abe107ec18dec96f8198f0d4 Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Thu, 1 May 2014 16:27:36 -0400 Subject: [PATCH] Bug 1004677 - Restore double precision startTime. r=bjacob --HG-- extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d --- tools/profiler/TableTicker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/TableTicker.cpp b/tools/profiler/TableTicker.cpp index 80fd6ed837e7..1bd1781b5b81 100644 --- a/tools/profiler/TableTicker.cpp +++ b/tools/profiler/TableTicker.cpp @@ -115,7 +115,7 @@ void TableTicker::StreamMetaJSCustomObject(JSStreamWriter& b) b.NameValue("processType", XRE_GetProcessType()); TimeDuration delta = TimeStamp::Now() - sStartTime; - b.NameValue("startTime", static_cast(PR_Now()/1000.0 - delta.ToMilliseconds())); + b.NameValue("startTime", static_cast(PR_Now()/1000.0 - delta.ToMilliseconds())); nsresult res; nsCOMPtr http = do_GetService(NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "http", &res);