Index: chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm |
index c1f15c51c1b074edd1834d2228796cfbd5411a07..496478d76421b7b370caf346a0a18ab3ca9c09fc 100644 |
--- a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm |
+++ b/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm |
@@ -260,12 +260,12 @@ class InfobarBridge { |
@end |
// static |
-scoped_ptr<InfoBar> ExtensionInfoBarDelegate::CreateInfoBar( |
+scoped_ptr<infobars::InfoBar> ExtensionInfoBarDelegate::CreateInfoBar( |
scoped_ptr<ExtensionInfoBarDelegate> delegate) { |
scoped_ptr<InfoBarCocoa> infobar( |
- new InfoBarCocoa(delegate.PassAs<InfoBarDelegate>())); |
+ new InfoBarCocoa(delegate.PassAs<infobars::InfoBarDelegate>())); |
base::scoped_nsobject<ExtensionInfoBarController> controller( |
[[ExtensionInfoBarController alloc] initWithInfoBar:infobar.get()]); |
infobar->set_controller(controller); |
- return infobar.PassAs<InfoBar>(); |
+ return infobar.PassAs<infobars::InfoBar>(); |
} |