mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-05 03:20:20 +01:00
[test-meta-surface] Propagate error from show_page().
Add a missing error propagation for _test_meta_surface_show_page().
This commit is contained in:
parent
7758e56d0c
commit
ef275cd65a
1 changed files with 6 additions and 2 deletions
|
|
@ -121,9 +121,13 @@ _test_meta_surface_acquire_source_image (void *abstract_surface,
|
|||
void **image_extra)
|
||||
{
|
||||
test_meta_surface_t *surface = abstract_surface;
|
||||
cairo_status_t status;
|
||||
|
||||
if (! surface->image_reflects_meta)
|
||||
_test_meta_surface_show_page (abstract_surface);
|
||||
if (! surface->image_reflects_meta) {
|
||||
status = _test_meta_surface_show_page (abstract_surface);
|
||||
if (status)
|
||||
return status;
|
||||
}
|
||||
|
||||
return _cairo_surface_acquire_source_image (surface->image,
|
||||
image_out, image_extra);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue