summaryrefslogtreecommitdiffstats
path: root/chrome/browser/infobars/infobar_tab_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/infobars/infobar_tab_helper.cc')
-rw-r--r--chrome/browser/infobars/infobar_tab_helper.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/infobars/infobar_tab_helper.cc b/chrome/browser/infobars/infobar_tab_helper.cc
index 12fa355..ec9cad6 100644
--- a/chrome/browser/infobars/infobar_tab_helper.cc
+++ b/chrome/browser/infobars/infobar_tab_helper.cc
@@ -56,7 +56,7 @@ void InfoBarTabHelper::AddInfoBar(InfoBarDelegate* delegate) {
registrar_.Add(
this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
content::Source<NavigationController>(
- &tab_contents()->GetController()));
+ &web_contents()->GetController()));
}
}
@@ -122,7 +122,7 @@ void InfoBarTabHelper::RemoveInfoBarInternal(InfoBarDelegate* delegate,
registrar_.Remove(
this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
content::Source<NavigationController>(
- &tab_contents()->GetController()));
+ &web_contents()->GetController()));
}
}
@@ -179,7 +179,7 @@ void InfoBarTabHelper::Observe(int type,
const content::NotificationDetails& details) {
switch (type) {
case content::NOTIFICATION_NAV_ENTRY_COMMITTED: {
- DCHECK(&tab_contents()->GetController() ==
+ DCHECK(&web_contents()->GetController() ==
content::Source<NavigationController>(source).ptr());
content::LoadCommittedDetails& committed_details =