Rename soundName → sound.

This commit is contained in:
Charlie Hess 2017-08-17 17:28:14 -07:00
parent 0cfae1cc2b
commit 2b9b186fd1
No known key found for this signature in database
GPG key ID: 12C6D6B5324956AB
5 changed files with 11 additions and 11 deletions

View file

@ -39,8 +39,8 @@ void CocoaNotification::Show(const NotificationOptions& options) {
if (options.silent) {
[notification_ setSoundName:nil];
} else if (options.sound_name != nil) {
[notification_ setSoundName:base::SysUTF16ToNSString(options.sound_name)];
} else if (options.sound != nil) {
[notification_ setSoundName:base::SysUTF16ToNSString(options.sound)];
} else {
[notification_ setSoundName:NSUserNotificationDefaultSoundName];
}