| Index: content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| index 3a0433b380db744a5acc548df565a4bda247303f..82cc07df3232a4b5e2a970097cee7f626ae50777 100644
|
| --- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
|
| @@ -113,7 +113,8 @@ void LayoutTestNotificationManager::SimulateClick(const std::string& title,
|
| // First check for page-notifications with the given title.
|
| const auto& page_iterator = page_notifications_.find(title);
|
| if (page_iterator != page_notifications_.end()) {
|
| - // TODO(johnme): Pass action_index once it's supported.
|
| + DCHECK_EQ(action_index, -1) << "Action buttons are only supported for "
|
| + "persistent notifications";
|
| page_iterator->second->NotificationClick();
|
| return;
|
| }
|
|
|