Index: chrome/browser/ui/views/infobars/infobar_container_view.cc |
=================================================================== |
--- chrome/browser/ui/views/infobars/infobar_container_view.cc (revision 88583) |
+++ chrome/browser/ui/views/infobars/infobar_container_view.cc (working copy) |
@@ -44,8 +44,10 @@ |
state->name = l10n_util::GetStringUTF16(IDS_ACCNAME_INFOBAR_CONTAINER); |
} |
-void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar) { |
- AddChildView(static_cast<InfoBarView*>(infobar)); |
+void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar, |
+ size_t position) { |
+ AddChildViewAt(static_cast<InfoBarView*>(infobar), |
+ static_cast<int>(position)); |
} |
void InfoBarContainerView::PlatformSpecificRemoveInfoBar(InfoBar* infobar) { |