| Index: chrome/browser/infobars/infobar.cc
|
| diff --git a/chrome/browser/infobars/infobar.cc b/chrome/browser/infobars/infobar.cc
|
| index 9fb30f5d54e63123e2600f29c39b1e6e5874cded..3d2e52836958497353c5d28d822fedc8af2c3e3e 100644
|
| --- a/chrome/browser/infobars/infobar.cc
|
| +++ b/chrome/browser/infobars/infobar.cc
|
| @@ -183,7 +183,7 @@ void InfoBar::MaybeDelete() {
|
| if (!owner_ && delegate_ && (animation_.GetCurrentValue() == 0.0)) {
|
| if (container_)
|
| container_->RemoveInfoBar(this);
|
| - delegate_->InfoBarClosed();
|
| + delete delegate_;
|
| delegate_ = NULL;
|
| }
|
| }
|
|
|