Index: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc |
diff --git a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc |
index d28c4dcf320cf070a2fffe74ad28f90b7c77cf33..a6cdf99fe3120fa06d58df482714495ff0eb896f 100644 |
--- a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc |
+++ b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc |
@@ -15,9 +15,10 @@ |
// AlternateNavInfoBarDelegate ------------------------------------------------- |
// static |
-scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( |
+scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( |
scoped_ptr<AlternateNavInfoBarDelegate> delegate) { |
- return scoped_ptr<InfoBar>(new AlternateNavInfoBarView(delegate.Pass())); |
+ return scoped_ptr<infobars::InfoBar>( |
+ new AlternateNavInfoBarView(delegate.Pass())); |
} |
@@ -25,11 +26,10 @@ scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar( |
AlternateNavInfoBarView::AlternateNavInfoBarView( |
scoped_ptr<AlternateNavInfoBarDelegate> delegate) |
- : InfoBarView(delegate.PassAs<InfoBarDelegate>()), |
+ : InfoBarView(delegate.PassAs<infobars::InfoBarDelegate>()), |
label_1_(NULL), |
link_(NULL), |
- label_2_(NULL) { |
-} |
+ label_2_(NULL) {} |
AlternateNavInfoBarView::~AlternateNavInfoBarView() { |
} |