| Index: chrome/browser/tab_contents/infobar.cc
|
| diff --git a/chrome/browser/tab_contents/infobar.cc b/chrome/browser/tab_contents/infobar.cc
|
| index 0a55bc5bcca745b3c51f1d5ccb69fc5dbb976d93..4330261ff6bb2237b93df09451f5b6cd8c883d40 100644
|
| --- a/chrome/browser/tab_contents/infobar.cc
|
| +++ b/chrome/browser/tab_contents/infobar.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/logging.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"
|
|
|
| SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type) {
|
| @@ -88,8 +89,7 @@ void InfoBar::AnimationProgressed(const ui::Animation* animation) {
|
| }
|
|
|
| void InfoBar::RemoveInfoBar() {
|
| - if (container_)
|
| - container_->RemoveDelegate(delegate_);
|
| + owner_->RemoveInfoBar(delegate_);
|
| }
|
|
|
| void InfoBar::SetBarTargetHeight(int height) {
|
|
|