Index: chrome/browser/extensions/api/notifications/notifications_api.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc |
index 17063dfd5e6caff646f6feeded9b71303aa7908d..e5e6bf6cfaccfec160e9aac5de4021cea0c3ffc9 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc |
@@ -298,8 +298,8 @@ bool NotificationsApiFunction::CreateNotification( |
NotificationConversionHelper::NotificationBitmapToGfxImage( |
image_scale, bitmap_sizes.button_icon_size, *icon_bitmap_ptr, |
&info.icon); |
- optional_fields.buttons.push_back(info); |
} |
+ optional_fields.buttons.push_back(info); |
} |
} |
@@ -434,8 +434,8 @@ bool NotificationsApiFunction::UpdateNotification( |
NotificationConversionHelper::NotificationBitmapToGfxImage( |
image_scale, bitmap_sizes.button_icon_size, *icon_bitmap_ptr, |
&button.icon); |
- buttons.push_back(button); |
} |
+ buttons.push_back(button); |
} |
notification->set_buttons(buttons); |
} |