Index: content/shell/renderer/test_runner/notification_presenter.cc |
diff --git a/content/shell/renderer/test_runner/notification_presenter.cc b/content/shell/renderer/test_runner/notification_presenter.cc |
index 80e6d5224ba4e0a77dd75447ebbbbc88ba49f277..98c5aea8d6330597cfb843357f111e970fd029b4 100644 |
--- a/content/shell/renderer/test_runner/notification_presenter.cc |
+++ b/content/shell/renderer/test_runner/notification_presenter.cc |
@@ -55,15 +55,12 @@ bool NotificationPresenter::SimulateClick(const std::string& title) { |
return true; |
} |
-void NotificationPresenter::CancelAllActiveNotifications() { |
+void NotificationPresenter::Reset() { |
while (!active_notifications_.empty()) { |
const WebNotification& notification = active_notifications_.begin()->second; |
cancel(notification); |
} |
-} |
-void NotificationPresenter::Reset() { |
- CancelAllActiveNotifications(); |
known_origins_.clear(); |
replacements_.clear(); |
} |