Index: chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
index e7eb9d4abd9caade81917733a94fed4fac74fbb1..bd89a53ae014c57c9c458008f1e6af12c1432f1f 100644 |
--- a/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm |
@@ -94,7 +94,8 @@ class ConfirmInfoBarControllerTest : public CocoaProfileTest, |
scoped_ptr<InfoBarDelegate> delegate( |
new MockConfirmInfoBarDelegate(this)); |
infobar_ = new InfoBarCocoa(delegate.Pass()); |
- infobar_->SetOwner(InfoBarService::FromWebContents(web_contents_.get())); |
+ infobar_->SetOwner(InfoBarService::FromWebContents( |
+ web_contents_.get())->infobar_manager()); |
controller_.reset([[TestConfirmInfoBarController alloc] |
initWithInfoBar:infobar_]); |