diff options
Diffstat (limited to 'content/common/mac/font_loader.mm')
-rw-r--r-- | content/common/mac/font_loader.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/mac/font_loader.mm b/content/common/mac/font_loader.mm index 3ce9bab..bbb9852 100644 --- a/content/common/mac/font_loader.mm +++ b/content/common/mac/font_loader.mm @@ -168,7 +168,7 @@ bool FontLoader::CGFontRefFromBuffer(base::SharedMemoryHandle font_data, NSData* data = [NSData dataWithBytes:shm.memory() length:font_data_size]; - base::mac::ScopedCFTypeRef<CGDataProviderRef> provider( + base::ScopedCFTypeRef<CGDataProviderRef> provider( CGDataProviderCreateWithCFData(base::mac::NSToCFCast(data))); if (!provider) return false; |