| Index: third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| index 223156aa3e27f657f4634df15e7ed5ced587f8e5..d3ce9423ac1eb179cdf0b64ec5aa322ae5748c64 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| +++ b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| @@ -43,8 +43,9 @@ static bool canLoadInProcess(NSFont* nsFont) {
|
| CTFontCopyGraphicsFont(toCTFontRef(nsFont), 0));
|
| // Toll-free bridged types CFStringRef and NSString*.
|
| RetainPtr<NSString> fontName(
|
| - AdoptNS, const_cast<NSString*>(reinterpret_cast<const NSString*>(
|
| - CGFontCopyPostScriptName(cgFont.get()))));
|
| + AdoptNS,
|
| + const_cast<NSString*>(reinterpret_cast<const NSString*>(
|
| + CGFontCopyPostScriptName(cgFont.get()))));
|
| return ![fontName.get() isEqualToString:@"LastResort"];
|
| }
|
|
|
|
|