Skip to content

Commit

Permalink
Unreviewed fix. rdar://117905809
Browse files Browse the repository at this point in the history
Identifier: 267815.522@safari-7617.1.16.12-branch
  • Loading branch information
MyahCobbs committed Nov 8, 2023
1 parent ad62dde commit 2dd103d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/platform/graphics/FontRanges.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ GlyphData FontRanges::glyphDataForCharacter(UChar32 character, ExternalResourceD
} else {
auto glyphData = font->glyphDataForCharacter(character);
if (glyphData.isValid()) {
CheckedPtr glyphDataFont = glyphData.font;
auto* glyphDataFont = glyphData.font;
if (glyphDataFont && glyphDataFont->visibility() == Font::Visibility::Visible && resultFont && resultFont->visibility() == Font::Visibility::Invisible)
return GlyphData(glyphData.glyph, &glyphDataFont->invisibleFont());
return glyphData;
Expand Down

0 comments on commit 2dd103d

Please sign in to comment.