зеркало из https://github.com/mozilla/gecko-dev.git
Removing a printf statement that I mistakenly included in the previous checkin. Got permission
from leaf to checkin this fix with out r and sr comments.
This commit is contained in:
Родитель
226add004d
Коммит
25f6374edd
|
@ -5498,11 +5498,9 @@ nsDocShell::AddToSessionHistory(nsIURI * aURI,
|
|||
// Check if the page has expired from cache
|
||||
nsCOMPtr<nsICacheEntryDescriptor> cacheEntryDesc(do_QueryInterface(cacheToken));
|
||||
if (cacheEntryDesc) {
|
||||
PRUint32 expTime;
|
||||
|
||||
PRUint32 expTime;
|
||||
cacheEntryDesc->GetExpirationTime(&expTime);
|
||||
PRUint32 now = PRTimeToSeconds(PR_Now());
|
||||
printf("Exptime = %d, Now = %d\n", expTime, now);
|
||||
PRUint32 now = PRTimeToSeconds(PR_Now());
|
||||
if (expTime <= now)
|
||||
expired = PR_TRUE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче