Bug 1320320 - remove the missed-epoch-checking panic in wait_for_epoch() WR bindings. r=mchang?

If render_backend hasn't process any display_list yet, there will no epoch data in renderer. So, current_epoch() call will return None in that case.

MozReview-Commit-ID: CDJ2UJ8AHhT
This commit is contained in:
JerryShih 2016-12-07 13:01:29 -10:00
Родитель 48f010e6b3
Коммит 42ca26e278
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -456,9 +456,6 @@ fn wait_for_epoch(window: &mut WrWindowState) {
continue 'outer;
}
}
else {
panic!("Could not get an epoch from the renderer");
}
// If the epoch is not matched, starts to wait for next frame updating.
while !*finished {