| Index: chrome/browser/tab_contents/infobar.cc
|
| diff --git a/chrome/browser/tab_contents/infobar.cc b/chrome/browser/tab_contents/infobar.cc
|
| index d8dacb22842e8a740f46828265e50fcf135685ef..b20bd8dd6d5fe435743980091e6406a4cdff4f8a 100644
|
| --- a/chrome/browser/tab_contents/infobar.cc
|
| +++ b/chrome/browser/tab_contents/infobar.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "build/build_config.h"
|
| #include "base/logging.h"
|
| +#include "chrome/browser/infobars/infobar_tab_helper.h"
|
| #include "chrome/browser/tab_contents/infobar_container.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "ui/base/animation/slide_animation.h"
|
| @@ -104,7 +105,7 @@ void InfoBar::RemoveSelf() {
|
| // |owner_| can be NULL here, e.g. because the user clicks the close button
|
| // when the infobar is already closing.
|
| if (delegate_ && owner_)
|
| - owner_->RemoveInfoBar(delegate_);
|
| + owner_->infobar_tab_helper()->RemoveInfoBar(delegate_);
|
| }
|
|
|
| void InfoBar::SetBarTargetHeight(int height) {
|
|
|