| Index: Source/modules/notifications/Notification.cpp
|
| diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp
|
| index 6ec559fb0558430e9cf9abea69cbb7d2350b68ea..e70254cabe91af5180161ef74cdb00514002144e 100644
|
| --- a/Source/modules/notifications/Notification.cpp
|
| +++ b/Source/modules/notifications/Notification.cpp
|
| @@ -49,15 +49,15 @@ Notification* Notification::create(ExecutionContext* context, const String& titl
|
| Notification* notification = adoptRefCountedGarbageCollectedWillBeNoop(new Notification(title, context, &client));
|
|
|
| String argument;
|
| - if (DictionaryHelper::get(options, "body", argument))
|
| + if (options.get("body", argument))
|
| notification->setBody(argument);
|
| - if (DictionaryHelper::get(options, "tag", argument))
|
| + if (options.get("tag", argument))
|
| notification->setTag(argument);
|
| - if (DictionaryHelper::get(options, "lang", argument))
|
| + if (options.get("lang", argument))
|
| notification->setLang(argument);
|
| - if (DictionaryHelper::get(options, "dir", argument))
|
| + if (options.get("dir", argument))
|
| notification->setDir(argument);
|
| - if (DictionaryHelper::get(options, "icon", argument)) {
|
| + if (options.get("icon", argument)) {
|
| KURL iconUrl = argument.isEmpty() ? KURL() : context->completeURL(argument);
|
| if (!iconUrl.isEmpty() && iconUrl.isValid())
|
| notification->setIconUrl(iconUrl);
|
|
|