| Index: chrome/browser/gtk/infobar_container_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/infobar_container_gtk.cc (revision 65558)
|
| +++ chrome/browser/gtk/infobar_container_gtk.cc (working copy)
|
| @@ -123,8 +123,8 @@
|
| } else if (type == NotificationType::TAB_CONTENTS_INFOBAR_REMOVED) {
|
| RemoveInfoBar(Details<InfoBarDelegate>(details).ptr(), true);
|
| } else if (type == NotificationType::TAB_CONTENTS_INFOBAR_REPLACED) {
|
| - std::pair<InfoBarDelegate*, InfoBarDelegate*>* delegates =
|
| - Details<std::pair<InfoBarDelegate*, InfoBarDelegate*> >(details).ptr();
|
| + typedef std::pair<InfoBarDelegate*, InfoBarDelegate*> Delegates;
|
| + Delegates* delegates = Details<Delegates>(details).ptr();
|
|
|
| // By not animating the removal/addition, this appears to be a replace.
|
| RemoveInfoBar(delegates->first, false);
|
|
|