Index: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupportMPL.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupportMPL.cpp b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupportMPL.cpp |
index 3aab5b09f53dcdd49b60e705a876c4b9ab55f778..7d6df0667c998bac13fee09889755f54a39c2cb1 100644 |
--- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupportMPL.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupportMPL.cpp |
@@ -45,13 +45,11 @@ bool OpenTypeCapsSupport::supportsOpenTypeFeature( |
const hb_tag_t kGSUB = HB_TAG('G', 'S', 'U', 'B'); |
unsigned scriptIndex = 0; |
// Identify for which script a GSUB table is available. |
- if (!hb_ot_layout_table_choose_script(face, |
+ hb_ot_layout_table_choose_script(face, |
kGSUB, |
scriptTags, |
&scriptIndex, |
- nullptr)) { |
- return false; |
- } |
+ nullptr); |
if (hb_ot_layout_language_find_feature(face, kGSUB, |
scriptIndex, |