Chromium Code Reviews| 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 590bfda5635d1fe83f6a52351a353186b48576e2..b9a28756eab65dff97f3054261a408d6cf008d0e 100644 |
| --- a/content/shell/browser/layout_test/layout_test_notification_manager.cc |
| +++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc |
| @@ -83,10 +83,9 @@ void LayoutTestNotificationManager::ClosePersistentNotification( |
| persistent_notifications_.erase(notification_id); |
| } |
| -bool LayoutTestNotificationManager::GetDisplayedPersistentNotifications( |
| +bool LayoutTestNotificationManager::GetDisplayedNotifications( |
| BrowserContext* browser_context, |
| std::set<std::string>* displayed_notifications) { |
| - DCHECK_CURRENTLY_ON(BrowserThread::UI); |
|
Miguel Garcia
2016/12/06 12:01:18
Note that I have removed this restriction since we
|
| DCHECK(displayed_notifications); |
| // Notifications will never outlive the lifetime of running layout tests. |