From bb2a688568c6d013598375647d10aff57be61df1 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Thu, 18 Jul 2013 16:50:05 -0400 Subject: [PATCH] Bug 895168 - Part 4: Stop using LL_L2D in the tree; r=jcranmer --HG-- extra : rebase_source : 16632833e00f1b3996a637ed2c583557cbc2c1c8 --- docshell/shistory/src/nsSHistory.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docshell/shistory/src/nsSHistory.cpp b/docshell/shistory/src/nsSHistory.cpp index 4b35e82cabf2..648089aa44d4 100644 --- a/docshell/shistory/src/nsSHistory.cpp +++ b/docshell/shistory/src/nsSHistory.cpp @@ -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