Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: chrome/browser/ui/cocoa/infobars/confirm_infobar_controller_unittest.mm

Issue 211273007: Split InfoBarService core code into InfoBarManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android compilation Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..217ee4d751434b1cf10201d6bb26b8f2dd4be70c 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_]);

Powered by Google App Engine
This is Rietveld 408576698