Index: chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm |
index 2281b758d5079c0fa79da239e36bc7f84e762b2d..16e83e09abd76376f25ebc76a1b5470fe1b6db48 100644 |
--- a/chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm |
+++ b/chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.mm |
@@ -58,12 +58,12 @@ |
@end |
// static |
-scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( |
+scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( |
scoped_ptr<AlternateNavInfoBarDelegate> delegate) { |
scoped_ptr<InfoBarCocoa> infobar( |
- new InfoBarCocoa(delegate.PassAs<InfoBarDelegate>())); |
+ new InfoBarCocoa(delegate.PassAs<infobars::InfoBarDelegate>())); |
base::scoped_nsobject<AlternateNavInfoBarController> controller( |
[[AlternateNavInfoBarController alloc] initWithInfoBar:infobar.get()]); |
infobar->set_controller(controller); |
- return infobar.PassAs<InfoBar>(); |
+ return infobar.PassAs<infobars::InfoBar>(); |
} |