[subset] Call serialize start/end around it
To be cleaned up.
This commit is contained in:
parent
abe33c6149
commit
2e675cc7b5
@ -81,8 +81,10 @@ _subset2 (hb_subset_plan_t *plan)
|
||||
}
|
||||
retry:
|
||||
hb_serialize_context_t serializer ((void *) buf, buf_size);
|
||||
serializer.start_serialize<TableType> ();
|
||||
hb_subset_context_t c (plan, &serializer);
|
||||
result = table->subset (&c);
|
||||
serializer.end_serialize ();
|
||||
if (serializer.ran_out_of_room)
|
||||
{
|
||||
buf_size += (buf_size >> 1) + 32;
|
||||
|
Loading…
Reference in New Issue
Block a user