Index: chrome/browser/ui/views/infobars/confirm_infobar.cc |
=================================================================== |
--- chrome/browser/ui/views/infobars/confirm_infobar.cc (revision 194662) |
+++ chrome/browser/ui/views/infobars/confirm_infobar.cc (working copy) |
@@ -98,7 +98,7 @@ |
void ConfirmInfoBar::ButtonPressed(views::Button* sender, |
const ui::Event& event) { |
- if (!owned()) |
+ if (!owner()) |
return; // We're closing; don't call anything, it might access the owner. |
ConfirmInfoBarDelegate* delegate = GetDelegate(); |
if ((ok_button_ != NULL) && sender == ok_button_) { |
@@ -124,7 +124,7 @@ |
} |
void ConfirmInfoBar::LinkClicked(views::Link* source, int event_flags) { |
- if (!owned()) |
+ if (!owner()) |
return; // We're closing; don't call anything, it might access the owner. |
DCHECK(link_ != NULL); |
DCHECK_EQ(link_, source); |