| Index: Source/platform/fonts/shaping/HarfBuzzFace.cpp
|
| diff --git a/Source/platform/fonts/shaping/HarfBuzzFace.cpp b/Source/platform/fonts/shaping/HarfBuzzFace.cpp
|
| index ef2aa6a18eda9ada689a4814f6794ec86b529987..1fbc51207acad85afa595ce91d7302f4e7ab9b62 100644
|
| --- a/Source/platform/fonts/shaping/HarfBuzzFace.cpp
|
| +++ b/Source/platform/fonts/shaping/HarfBuzzFace.cpp
|
| @@ -162,10 +162,9 @@
|
| HarfBuzzFontData* hbFontData = reinterpret_cast<HarfBuzzFontData*>(fontData);
|
|
|
| if (variationSelector) {
|
| -#if OS(LINUX) && !defined(OFFICIAL_BUILD)
|
| - // TODO(kojii): Linux non-official builds cannot use hb_ot_font_set_funcs()
|
| - // until we find a way to bundle HB in non-official builds, or pangoft2
|
| - // updates its HB. See crbug.com/462689.
|
| +#if OS(LINUX)
|
| + // TODO(kojii): Linux non-official builds cannot use new HB APIs
|
| + // until crbug.com/462689 resolved or pangoft2 updates its HB.
|
| return false;
|
| #else
|
| // Skia does not support variation selectors, but hb does.
|
|
|