Index: trunk/src/chrome/browser/google/google_url_tracker_map_entry.cc |
=================================================================== |
--- trunk/src/chrome/browser/google/google_url_tracker_map_entry.cc (revision 238401) |
+++ trunk/src/chrome/browser/google/google_url_tracker_map_entry.cc (working copy) |
@@ -32,7 +32,7 @@ |
DCHECK(infobar_delegate_); |
DCHECK_EQ(chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED, type); |
DCHECK_EQ(infobar_service_, content::Source<InfoBarService>(source).ptr()); |
- if (content::Details<InfoBar::RemovedDetails>(details)->first->delegate() == |
+ if (content::Details<InfoBar::RemovedDetails>(details)->first == |
infobar_delegate_) { |
google_url_tracker_->DeleteMapEntryForService(infobar_service_); |
// WARNING: At this point |this| has been deleted! |