Index: content/renderer/active_notification_tracker.cc |
diff --git a/content/renderer/active_notification_tracker.cc b/content/renderer/active_notification_tracker.cc |
index 5f4a40e66a0ec847087a025f1e8fc9a0e7db1c10..11e16c2de2163d696e3d096c5704b9c96d707ec1 100644 |
--- a/content/renderer/active_notification_tracker.cc |
+++ b/content/renderer/active_notification_tracker.cc |
@@ -55,7 +55,7 @@ void ActiveNotificationTracker::UnregisterNotification(int id) { |
scoped_ptr<WebNotification> notification(notification_table_.Lookup(id)); |
notification_table_.Remove(id); |
DCHECK(notification.get()); |
- if (notification.get()) |
+ if (notification) |
reverse_notification_table_.erase(*notification); |
} |