Pass() is deprecated for std::move
This commit is contained in:
parent
948e7c4055
commit
baf5f384cd
14 changed files with 52 additions and 48 deletions
|
@ -39,11 +39,11 @@ void CocoaNotification::Show(const base::string16& title,
|
|||
|
||||
if ([notification_ respondsToSelector:@selector(setContentImage:)] &&
|
||||
!icon.drawsNothing()) {
|
||||
NSImage* image = gfx::SkBitmapToNSImageWithColorSpace(
|
||||
NSImage* image = skia::SkBitmapToNSImageWithColorSpace(
|
||||
icon, base::mac::GetGenericRGBColorSpace());
|
||||
[notification_ setContentImage:image];
|
||||
}
|
||||
|
||||
|
||||
if (silent) {
|
||||
[notification_ setSoundName:nil];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue