mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 182986e4ab10 (bug 1009603)
This commit is contained in:
parent
ad3cab0f4a
commit
c2899b2985
@ -328,7 +328,7 @@ TraceLogger::~TraceLogger()
|
||||
// We temporary enable logging for this. Stop doesn't need any extra data,
|
||||
// so is safe to do, even when we encountered OOM.
|
||||
enabled = true;
|
||||
while (stack.currentId() > 0)
|
||||
while (stack.size() > 0)
|
||||
stopEvent();
|
||||
enabled = false;
|
||||
}
|
||||
@ -707,7 +707,6 @@ TraceLogger::stopEvent()
|
||||
return;
|
||||
}
|
||||
}
|
||||
JS_ASSERT(stack.currentId() > 0);
|
||||
stack.pop();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user