| Index: chrome/browser/ui/gtk/browser_window_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| index b4001e454590e1052b729054dbadda18f7f56245..cc6928c790efa5e4bc71e908dccea2710752c4db 100644
|
| --- a/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| @@ -802,9 +802,8 @@ void BrowserWindowGtk::OnActiveTabChanged(WebContents* old_contents,
|
|
|
| // Update various elements that are interested in knowing the current
|
| // WebContents.
|
| - InfoBarManager* infobar_manager =
|
| - InfoBarService::InfoBarManagerFromWebContents(new_contents);
|
| - infobar_container_->ChangeInfoBarManager(infobar_manager);
|
| + infobar_container_->ChangeInfoBarManager(
|
| + InfoBarService::FromWebContents(new_contents));
|
| contents_container_->SetTab(new_contents);
|
| UpdateDevToolsForContents(new_contents);
|
|
|
|
|