зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1717685 - Silently handle NOTHING_TO_DO as SUCCESS when replaying a recording, rather than asserting on it. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D119398
This commit is contained in:
Родитель
90ced4b1e3
Коммит
e4f80082a0
|
@ -1995,6 +1995,8 @@ _cairo_recording_surface_replay_internal (cairo_recording_surface_t *surface,
|
|||
} else if (status == CAIRO_INT_STATUS_IMAGE_FALLBACK) {
|
||||
command->header.region = CAIRO_RECORDING_REGION_IMAGE_FALLBACK;
|
||||
status = CAIRO_INT_STATUS_SUCCESS;
|
||||
} else if (status == CAIRO_INT_STATUS_NOTHING_TO_DO) {
|
||||
status = CAIRO_INT_STATUS_SUCCESS;
|
||||
} else {
|
||||
assert (_cairo_int_status_is_error (status));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче