зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1483365 - Run SnowWhiteKiller non-incrementally when recording/replaying, r=mccr8.
--HG-- extra : rebase_source : e3b1824a4ecfcc7a5c2cbd77b63d36ceca624741
This commit is contained in:
Родитель
050b328fd7
Коммит
b2e98506b6
|
@ -2728,7 +2728,9 @@ public:
|
||||||
bool
|
bool
|
||||||
Visit(nsPurpleBuffer& aBuffer, nsPurpleBufferEntry* aEntry)
|
Visit(nsPurpleBuffer& aBuffer, nsPurpleBufferEntry* aEntry)
|
||||||
{
|
{
|
||||||
if (mBudget) {
|
// Ignore any slice budget we have when recording/replaying, as it behaves
|
||||||
|
// non-deterministically.
|
||||||
|
if (mBudget && !recordreplay::IsRecordingOrReplaying()) {
|
||||||
if (mBudget->isOverBudget()) {
|
if (mBudget->isOverBudget()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче