mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1477566 - Avoid recording events in SliceBudget::UnlimitedDeadline, r=sfink.
--HG-- extra : rebase_source : 463699491f3475ae928a6d700302ad2a9014b57d
This commit is contained in:
parent
ecde232f88
commit
e77cc309c4
@ -38,6 +38,7 @@ struct JS_PUBLIC_API(WorkBudget)
|
||||
class JS_PUBLIC_API(SliceBudget)
|
||||
{
|
||||
const mozilla::TimeStamp &UnlimitedDeadline() const {
|
||||
mozilla::recordreplay::AutoPassThroughThreadEvents pt;
|
||||
static const mozilla::TimeStamp unlimitedDeadline =
|
||||
mozilla::TimeStamp::Now() + mozilla::TimeDuration::Forever();
|
||||
return unlimitedDeadline;
|
||||
|
Loading…
Reference in New Issue
Block a user