[paint-extents] Return unbounded on memory allocation failure
This commit is contained in:
parent
3e1c524e64
commit
bf16dad55a
|
@ -149,9 +149,9 @@ typedef struct hb_transform_t
|
||||||
typedef struct hb_bounds_t
|
typedef struct hb_bounds_t
|
||||||
{
|
{
|
||||||
enum status_t {
|
enum status_t {
|
||||||
EMPTY,
|
|
||||||
BOUNDED,
|
|
||||||
UNBOUNDED,
|
UNBOUNDED,
|
||||||
|
BOUNDED,
|
||||||
|
EMPTY,
|
||||||
};
|
};
|
||||||
|
|
||||||
hb_bounds_t (status_t status) : status (status) {}
|
hb_bounds_t (status_t status) : status (status) {}
|
||||||
|
|
Loading…
Reference in New Issue