Bug 895168 - Part 4: Stop using LL_L2D in the tree; r=jcranmer

--HG--
extra : rebase_source : 16632833e00f1b3996a637ed2c583557cbc2c1c8
This commit is contained in:
Ehsan Akhgari 2013-07-18 16:50:05 -04:00
parent c6a2c1e5a9
commit 7f40616b9e

View File

@ -311,10 +311,7 @@ nsSHistory::CalcMaxTotalViewers()
if (bytes > INT64_MAX)
bytes = INT64_MAX;
uint64_t kbytes = bytes >> 10;
double kBytesD;
LL_L2D(kBytesD, (int64_t) kbytes);
double kBytesD = (double)(bytes >> 10);
// This is essentially the same calculation as for nsCacheService,
// except that we divide the final memory calculation by 4, since