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

Unified Diff: chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc

Issue 6989001: Misc. infobar stuff: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/gtk/infobars/infobar_container_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc (revision 84698)
+++ chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc (working copy)
@@ -176,7 +176,7 @@
}
void InfoBarContainerGtk::AddInfoBar(InfoBarDelegate* delegate, bool animate) {
- InfoBar* infobar = delegate->CreateInfoBar();
+ InfoBar* infobar = delegate->CreateInfoBar(tab_contents_);
infobar->set_container(this);
infobar->SetThemeProvider(GtkThemeService::GetFrom(profile_));
gtk_box_pack_start(GTK_BOX(widget()), infobar->widget(),

Powered by Google App Engine
This is Rietveld 408576698