From 9dd6d67e4583208bd72a3b573f0956f4e3bc2a0a Mon Sep 17 00:00:00 2001 From: Honza Bambas Date: Fri, 1 Sep 2017 13:00:12 +0200 Subject: [PATCH] Bug 1395884 - Remove potential timer race and assertion in RequestContext tailing feature, r=dragana --- netwerk/base/RequestContextService.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/netwerk/base/RequestContextService.cpp b/netwerk/base/RequestContextService.cpp index efb5f7d8af24..e064a45f6d25 100644 --- a/netwerk/base/RequestContextService.cpp +++ b/netwerk/base/RequestContextService.cpp @@ -335,10 +335,8 @@ RequestContext::IsContextTailBlocked(nsIRequestTailUnblockCallback * aRequest, *aBlocked = false; - if (mUntailAt.IsNull() || mUntailAt <= TimeStamp::NowLoRes()) { + if (mUntailAt.IsNull()) { LOG((" untail time passed")); - // To save the expansive compare to now next time - mUntailAt = TimeStamp(); return NS_OK; }