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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 228293004: InfoBarService inherits from InfoBarManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 8 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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 932d6e29f20f0882435fd71ec15b4588c3269a44..c8c819b38744941c6a9c795b9a153b906af4d270 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -832,9 +832,8 @@ void BrowserView::OnActiveTabChanged(content::WebContents* old_contents,
devtools_web_view_->SetWebContents(NULL);
}
- InfoBarManager* infobar_manager =
- InfoBarService::InfoBarManagerFromWebContents(new_contents);
- infobar_container_->ChangeInfoBarManager(infobar_manager);
+ infobar_container_->ChangeInfoBarManager(
+ InfoBarService::FromWebContents(new_contents));
if (old_contents && PermissionBubbleManager::FromWebContents(old_contents))
PermissionBubbleManager::FromWebContents(old_contents)->SetView(NULL);

Powered by Google App Engine
This is Rietveld 408576698