| Index: chrome/browser/ui/cocoa/infobars/infobar_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/infobars/infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/infobar_controller.mm
|
| index d7b584d0f57e290c9c8991c4c6a2f35051c39d3a..aa8fd060e7268bff592dc699132352ada61b3f12 100644
|
| --- a/chrome/browser/ui/cocoa/infobars/infobar_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/infobars/infobar_controller.mm
|
| @@ -451,14 +451,16 @@ const float kAnimateCloseDuration = 0.12;
|
| //////////////////////////////////////////////////////////////////////////
|
| // CreateInfoBar() implementations
|
|
|
| -InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
|
| +InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) {
|
| + InfoBarTabHelper* helper = (InfoBarTabHelper*)owner;
|
| LinkInfoBarController* controller =
|
| - [[LinkInfoBarController alloc] initWithDelegate:this owner:owner];
|
| + [[LinkInfoBarController alloc] initWithDelegate:this owner:helper];
|
| return new InfoBar(controller, this);
|
| }
|
|
|
| -InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
|
| +InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) {
|
| + InfoBarTabHelper* helper = (InfoBarTabHelper*)owner;
|
| ConfirmInfoBarController* controller =
|
| - [[ConfirmInfoBarController alloc] initWithDelegate:this owner:owner];
|
| + [[ConfirmInfoBarController alloc] initWithDelegate:this owner:helper];
|
| return new InfoBar(controller, this);
|
| }
|
|
|