| Index: third_party/harfbuzz-ng/src/hb-font.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-font.cc b/third_party/harfbuzz-ng/src/hb-font.cc
|
| index fc4c8ebf077cccc04d2543489eed55f2d05238f0..4364ca72fb0c81ae66da9a00799f9dbeb0a19208 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-font.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-font.cc
|
| @@ -357,7 +357,7 @@ hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs,
|
| void
|
| hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs)
|
| {
|
| - if (hb_object_is_inert (ffuncs))
|
| + if (unlikely (hb_object_is_inert (ffuncs)))
|
| return;
|
|
|
| ffuncs->immutable = true;
|
| @@ -1034,7 +1034,7 @@ hb_font_get_user_data (hb_font_t *font,
|
| void
|
| hb_font_make_immutable (hb_font_t *font)
|
| {
|
| - if (hb_object_is_inert (font))
|
| + if (unlikely (hb_object_is_inert (font)))
|
| return;
|
|
|
| font->immutable = true;
|
|
|