| Index: Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| diff --git a/Source/platform/fonts/mac/FontPlatformDataMac.mm b/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| index 54cee47cb10c957c9cabeb128b2fa9ec2a78d6b0..1eaa4767d02ab9f7ca962ec375ed06fa38c230dc 100644
|
| --- a/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| +++ b/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| @@ -94,7 +94,7 @@ static PassRefPtr<SkTypeface> loadFromBrowserProcess(NSFont* nsFont, float textS
|
| }
|
| RetainPtr<CGFontRef> cgFont(AdoptCF, loadedCgFont);
|
| RetainPtr<CTFontRef> ctFont(AdoptCF, CTFontCreateWithGraphicsFont(cgFont.get(), textSize, 0, cascadeToLastResortFontDescriptor()));
|
| - PassRefPtr<SkTypeface> returnFont = adoptRef(SkCreateTypefaceFromCTFont(ctFont.get()));
|
| + PassRefPtr<SkTypeface> returnFont = adoptRef(SkCreateTypefaceFromCTFont(ctFont.get(), cgFont.get()));
|
|
|
| if (!returnFont.get())
|
| // TODO crbug.com/461279: Make this appear in the inspector console?
|
|
|