mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 730302 - Fix GetMarker code in Table::Tick. r=mstange
This commit is contained in:
parent
8cd569208b
commit
5e1dd84f1f
@ -516,11 +516,8 @@ unsigned int sCurrentEventGeneration = 0;
|
||||
void TableTicker::Tick(TickSample* sample)
|
||||
{
|
||||
// Marker(s) come before the sample
|
||||
int i = 0;
|
||||
const char *marker = mStack->getMarker(i++);
|
||||
for (int i = 0; marker != NULL; i++) {
|
||||
mProfile.addTag(ProfileEntry('m', marker));
|
||||
marker = mStack->getMarker(i++);
|
||||
for (int i = 0; mStack->getMarker(i) != NULL; i++) {
|
||||
mProfile.addTag(ProfileEntry('m', mStack->getMarker(i)));
|
||||
}
|
||||
mStack->mQueueClearMarker = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user