diff --git a/brightray/browser/notification_presenter_mac.mm b/brightray/browser/notification_presenter_mac.mm index 81527772ffb6..d7dfe0156634 100644 --- a/brightray/browser/notification_presenter_mac.mm +++ b/brightray/browser/notification_presenter_mac.mm @@ -48,7 +48,7 @@ void NotificationPresenterMac::ShowNotification( notification.title = base::SysUTF16ToNSString(data.title); notification.informativeText = base::SysUTF16ToNSString(data.body); - if (base::mac::IsOSYosemiteOrLater() && !icon.drawsNothing()) + if ([notification respondsToSelector:@selector(setContentImage:)] && !icon.drawsNothing()) notification.contentImage = gfx::SkBitmapToNSImageWithColorSpace(icon, base::mac::GetGenericRGBColorSpace()); notifications_map_[delegate.get()].reset(notification);