| 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 600faaeb18c04a8d97e1e5026bed6b34fc303489..61737669c0833d52536330e1cf634461ceee6451 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-shape-plan.cc
|
| @@ -35,13 +35,6 @@
|
| #endif
|
|
|
|
|
| -#define HB_SHAPER_IMPLEMENT(shaper) \
|
| - HB_SHAPER_DATA_ENSURE_DECLARE(shaper, face) \
|
| - HB_SHAPER_DATA_ENSURE_DECLARE(shaper, font)
|
| -#include "hb-shaper-list.hh"
|
| -#undef HB_SHAPER_IMPLEMENT
|
| -
|
| -
|
| static void
|
| hb_shape_plan_plan (hb_shape_plan_t *shape_plan,
|
| const hb_feature_t *user_features,
|
| @@ -438,11 +431,12 @@ static inline hb_bool_t
|
| hb_non_global_user_features_present (const hb_feature_t *user_features,
|
| unsigned int num_user_features)
|
| {
|
| - while (num_user_features)
|
| + while (num_user_features) {
|
| if (user_features->start != 0 || user_features->end != (unsigned int) -1)
|
| return true;
|
| - else
|
| - num_user_features--, user_features++;
|
| + num_user_features--;
|
| + user_features++;
|
| + }
|
| return false;
|
| }
|
|
|
|
|