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

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

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes 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..9e8e9a19e2356d3acc4354a2df1a8a70d7644f9d 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