| Index: Source/platform/fonts/mac/FontCacheMac.mm
|
| diff --git a/Source/platform/fonts/mac/FontCacheMac.mm b/Source/platform/fonts/mac/FontCacheMac.mm
|
| index c544b8cd2084205053b901beac8f1830db9b5b9c..a67362d191afed63991727a8e9ab9fff70f0299b 100644
|
| --- a/Source/platform/fonts/mac/FontCacheMac.mm
|
| +++ b/Source/platform/fonts/mac/FontCacheMac.mm
|
| @@ -116,11 +116,11 @@ PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDes
|
| if (!substituteFont && codeUnitsLength == 1)
|
| substituteFont = [NSFont findFontLike:nsFont forCharacter:codeUnits[0] inLanguage:nil];
|
| if (!substituteFont)
|
| - return 0;
|
| + return nullptr;
|
|
|
| // Chromium can't render AppleColorEmoji.
|
| if ([[substituteFont familyName] isEqual:@"Apple Color Emoji"])
|
| - return 0;
|
| + return nullptr;
|
|
|
| // Use the family name from the AppKit-supplied substitute font, requesting the
|
| // traits, weight, and size we want. One way this does better than the original
|
|
|