| Index: chrome/browser/ui/views/infobars/infobar_container.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/infobars/infobar_container.cc (revision 65711)
|
| +++ chrome/browser/ui/views/infobars/infobar_container.cc (working copy)
|
| @@ -104,8 +104,8 @@
|
| } else if (type == NotificationType::TAB_CONTENTS_INFOBAR_REMOVED) {
|
| RemoveInfoBar(Details<InfoBarDelegate>(details).ptr(), true); // animated
|
| } 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();
|
| ReplaceInfoBar(delegates->first, delegates->second);
|
| } else {
|
| NOTREACHED();
|
|
|