| Index: third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-shape-plan.cc b/third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| index e354f2917634b2edfb15f1ef252a0e858ec3e18e..5ffc6b1362e4794b602241d0cb036273ea8203ef 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| @@ -104,8 +104,6 @@ hb_shape_plan_create (hb_face_t *face,
|
| unsigned int num_user_features,
|
| const char * const *shaper_list)
|
| {
|
| - assert (props->direction != HB_DIRECTION_INVALID);
|
| -
|
| hb_shape_plan_t *shape_plan;
|
| hb_feature_t *features = NULL;
|
|
|
| @@ -120,6 +118,8 @@ hb_shape_plan_create (hb_face_t *face,
|
| return hb_shape_plan_get_empty ();
|
| }
|
|
|
| + assert (props->direction != HB_DIRECTION_INVALID);
|
| +
|
| hb_face_make_immutable (face);
|
| shape_plan->default_shaper_list = shaper_list == NULL;
|
| shape_plan->face_unsafe = face;
|
|
|