Index: chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm |
index 6373d98b878beb62725c0f0c2707ebb4331173da..cb52a9c53dfe2b79acf7c17ebd3a41ed9c5edfb6 100644 |
--- a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm |
+++ b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.mm |
@@ -138,12 +138,12 @@ |
@end |
// static |
-scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar( |
+scoped_ptr<infobars::InfoBar> ConfirmInfoBarDelegate::CreateInfoBar( |
scoped_ptr<ConfirmInfoBarDelegate> delegate) { |
scoped_ptr<InfoBarCocoa> infobar( |
- new InfoBarCocoa(delegate.PassAs<InfoBarDelegate>())); |
+ new InfoBarCocoa(delegate.PassAs<infobars::InfoBarDelegate>())); |
base::scoped_nsobject<ConfirmInfoBarController> controller( |
[[ConfirmInfoBarController alloc] initWithInfoBar:infobar.get()]); |
infobar->set_controller(controller); |
- return infobar.PassAs<InfoBar>(); |
+ return infobar.PassAs<infobars::InfoBar>(); |
} |