| Index: third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp b/third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp
|
| index eb264fc86da8821833e6ec5ee7e3564d8899a17e..8c824b4bed2fb61c9e212174f10ba4ad66fe15f9 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp
|
| @@ -252,12 +252,12 @@ TEST_F(NotificationDataTest, DefaultTimestampValue) {
|
|
|
| TEST_F(NotificationDataTest, DirectionValues) {
|
| WTF::HashMap<String, WebNotificationData::Direction> mappings;
|
| - mappings.add("ltr", WebNotificationData::DirectionLeftToRight);
|
| - mappings.add("rtl", WebNotificationData::DirectionRightToLeft);
|
| - mappings.add("auto", WebNotificationData::DirectionAuto);
|
| + mappings.insert("ltr", WebNotificationData::DirectionLeftToRight);
|
| + mappings.insert("rtl", WebNotificationData::DirectionRightToLeft);
|
| + mappings.insert("auto", WebNotificationData::DirectionAuto);
|
|
|
| // Invalid values should default to "auto".
|
| - mappings.add("peter", WebNotificationData::DirectionAuto);
|
| + mappings.insert("peter", WebNotificationData::DirectionAuto);
|
|
|
| for (const String& direction : mappings.keys()) {
|
| NotificationOptions options;
|
|
|